-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
turn_on/turn_off methods without setting the proper ClimateEntityFeature #61
Comments
Hello, if you like, you can use my forked repo, where I am merging multiple feature request with some of my own patches. ;-) The above error is patched there. |
just create a pr to this repo |
Why should I? I am happy to maintain my fork, which has now more features, some of those were long PR in this repo but were never merged. There has to be two to dance. So thank you, but no thank you. |
Dunno, (for me) it doesn't seem the most elegant thing in the world to me to fork without even trying a merge, when the original repo is still maintained. That doesn't mean I won't switch to your version which seems better. You seem sure you don't want to merge, which is the second most important thing after functions (not having to switch back, in a word stability) |
I've created a PR to address this #85 Hopefully it gets reviewed and merged soon. |
…CMode.OFF Code optimizations to prevent redundant state updates by updating entity attributes only when actual changes occur, reducing unnecessary state writes. It separates internal updates of entity attributes from those directly changed by users or automations. Previously, it was possible that the climate entities would not restore state properly on Home Assistant restarts This further resolves a warning related in Home Assistant related to entities that implement HVACMode.OFF but do not explicitly declare the ClimateEntityFeature.ON_OFF feature. To ensure compatibility across Home Assistant versions, it dynamically adds the ON_OFF feature only if HVACMode.OFF exists for the templated entity. Fixes jcwillox#61 jcwillox#76 and jcwillox#79
…CMode.OFF Code optimizations to prevent redundant state updates by updating entity attributes only when actual changes occur, reducing unnecessary state writes. It separates internal updates of entity attributes from those directly changed by users or automations. Previously, it was possible that the climate entities would not restore state properly on Home Assistant restarts This further resolves a warning related in Home Assistant related to entities that implement HVACMode.OFF but do not explicitly declare the ClimateEntityFeature.ON_OFF feature. To ensure compatibility across Home Assistant versions, it dynamically adds the ON_OFF feature only if HVACMode.OFF exists for the templated entity. Fixes jcwillox#61 jcwillox#76 and jcwillox#79 Code formatted by black.
The problem
Home Assistant 2024.3 is currently in beta and is doing some more strict checking of climate devices and has detected an issue with this integration.
What version of Template Climate has the issue?
0.6.1
What version of Home Assistant are you running?
2024.3.b1
What type of installation are you running?
Home Assistant Supervised
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: