Climate card change - Add target temperature #1224
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Add target temperature to climate-card
show_target_temperature
configuration param for climate-cardRelated Issue
This PR closes issue: fixes #636
Motivation and Context
The default (hass native) climate entity card shows both the target temperature and the current temperature. This change adds the target temperature to mushroom climate-card to be displayed when the climate device is turned on and the required configuration is set.
To gate the change and prevent dashboards from automatically changing their appearance a new configuration parameter is introduced called
show_target_temperature
which defaults to false.HASS Entity Card Climate Appearance
Mushroom
show_target_temperature: false
Mushroom
show_target_temperature: true
New Showcase View
How Has This Been Tested
climate-view
added to showcase. Testing done with manually (screenshots above)Types of changes
Checklist