Skip to content

climate: display humidity if the device does not support temperature#3743

Closed
Shulyaka wants to merge 1 commit into
home-assistant:devfrom
Shulyaka:dev
Closed

climate: display humidity if the device does not support temperature#3743
Shulyaka wants to merge 1 commit into
home-assistant:devfrom
Shulyaka:dev

Conversation

@Shulyaka
Copy link
Copy Markdown
Contributor

If a climate device only supports humidity control but no temperature, the frontend shows grayed-out slider with disabled controlls and an empty graph on the detailed view. It does allow to control humidity though with the detailed view, but it would be much more informative if we displayed current humidity on the main card when the device does not support temperature.
This pull request adds the described functionality.

Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
@iantrich
Copy link
Copy Markdown
Member

Can we remove the card changes for now? I'm right in the middle of a conversion for this card: #3734

@Shulyaka
Copy link
Copy Markdown
Contributor Author

Shulyaka commented Sep 18, 2019

No problem, I will rebase my PR when you merge #3734

@bramkragten
Copy link
Copy Markdown
Member

bramkragten commented Sep 18, 2019

You now assume that if a device doesn't have current_temperature it will support humidity. Let's check what a device supports with supported_features https://developers.home-assistant.io/docs/en/entity_climate.html#supported-features and base the UI on that.

@Shulyaka
Copy link
Copy Markdown
Contributor Author

Apparently, HA developers want humidifiers to be a separate integration home-assistant/architecture#288

@Shulyaka Shulyaka closed this Sep 20, 2019
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants