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

Correct return type of climate entity feature #359

Merged
merged 2 commits into from
Feb 8, 2025
Merged

Conversation

PeteRager
Copy link
Owner

@PeteRager PeteRager commented Feb 7, 2025

Climate supported features is returning an integer zero when the zone is disabled; it should be returning a ClimateEntityFeature type instead.

Error adding entity None for domain climate with platform lennoxs30
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 825, in _async_add_entity
capabilities=entity.capability_attributes,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 386, in capability_attributes
if ClimateEntityFeature.TARGET_HUMIDITY in supported_features:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When in away mode on an s30, all zones but the first one are shown unavailable on the dashboard
1 participant