-
Notifications
You must be signed in to change notification settings - Fork 505
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
New feature flags for Fan platform #2164
Comments
Amazing, thank you! Traceback (most recent call last): |
Are you perhaps using a fan which does not support turning on/off? |
It's controlled with the speed settings 1 through 4, and 0 turns it off (in addition to the main off switch). That is "supporting it", I think? |
Home Assistant used to handle this for us, but no longer seems to. In any case the TURN_OFF feature flag is needed now. Issue #2164
In HA 2024.8, new flags are being introduced for FanEntityFeature.TURN_ON and TURN_OFF.
As with the climate platform when these were introduced there, there is an ugly hack of setting an internal attribute when the change has been made to avoid poorly implemented warnings.
https://developers.home-assistant.io/blog/2024/07/19/fan-fanentityfeatures-turn-on_off
The text was updated successfully, but these errors were encountered: