-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Add option to show current temperature on thermostat card #19049
Conversation
Should the thermostat icon also be shown on a dual setpoint (if there is space)? |
f9328c8
to
027bea4
Compare
src/panels/lovelace/cards/types.ts
Outdated
@@ -455,6 +455,7 @@ export interface ThermostatCardConfig extends LovelaceCardConfig { | |||
entity: string; | |||
theme?: string; | |||
name?: string; | |||
use_current_as_primary?: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I prefer
use_current_as_primary?: boolean; | |
show_current_as_primary?: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't sure for the name. I agree with your suggestion.
return html` | ||
<p class="label"> | ||
${action && action !== "off" && action !== "idle" | ||
? actionLabel | ||
: this.hass.localize("ui.card.climate.target")} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lokalize key is no longer used? Can be removed?
Now all that is left is to make the old behavior default and then we could forget all this nonsense as if it has never happened |
Proposed change
Add option to thermostat card to use current temperature instead of target temperature as main info.
PR for humidifier will follow.
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: