Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Starkvind fan capabilities and modes being incorrectly exposed #87

Merged
merged 3 commits into from
Aug 27, 2024

Commits on Aug 4, 2024

  1. fan: starkvind: Fix capabilities and modes being incorrectly exposed

    Fixes home-assistant/core#97440
    Previously starkvind exposed 10 speed settings and no modes, where 10% corresponded to auto mode
    and 20%-100% corresponded to fixed speeds.
    
    This patch correctly exposes auto mode as a mode. It also adds support for showing the actual
    fan speed while auto mode is enabled.
    Starkvind supports 9 fan speeds. Because 9 doesn't neatly fit into 100% I cheated a bit and divided
    the 100% into 10% increments, where trying to set the fan to 10% sets it to 20% instead. I believe
    that this gives the overall better user experience compared to having 11.11% increments.
    The 5 speed modes present on the physical interface of the device correspond to HA speed settings 20%,
    40%, 60% and 100%.
    freundTech committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    f89d17b View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Configuration menu
    Copy the full SHA
    d7bb333 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b363b7f View commit details
    Browse the repository at this point in the history