-
-
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
implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature #76
Comments
sayam93
added a commit
to sayam93/hass-template-climate
that referenced
this issue
Dec 11, 2024
Resolves a warning related to entities implementing HVACMode.OFF without explicitly declaring the ClimateEntityFeature.ON_OFF feature. Fixes jcwillox#76
I've added a PR to fix this #85 |
This was referenced Dec 14, 2024
sayam93
added a commit
to sayam93/hass-template-climate
that referenced
this issue
Dec 18, 2024
…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
sayam93
added a commit
to sayam93/hass-template-climate
that referenced
this issue
Dec 24, 2024
…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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem
warning in log
Entity climate.splitter_soggiorno_template (<class 'custom_components.climate_template.climate.TemplateClimate'>) implements HVACMode(s): auto, off, cool, heat, dry, fan_only and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/jcwillox/hass-template-climate/issues
What version of Template Climate has the issue?
0.8.0
What version of Home Assistant are you running?
core-2024.10.4
What type of installation are you running?
Home Assistant OS
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: