Closed flz closed 2 days ago
Thanks for your support! Apologies for adding yet another issue to your release backlog :-)
Hi! This is the expected behavior but I hesitate for that, since there is only one value displayed, it makes more sense when there are two values.
What do you think?
I figured it might be by design. It looks odd and might be harder to reason with in this case since the low target temp of Downstairs aligns with the high target temp from Upstairs.
Your call ultimately. An option could be nice?
I still don't know, the issue is that in some entities I can't be sure of what type of device it is (AC or heater), so I can't define a color by default. But it is easy to modify it with just a single line in the custom styles section.
I've tried to change it using styles but haven't figured it out yet. If you can suggest how to do it, that would be great :-)
You can just add this for heater:
.bubble-temperature-display {
color: var(--state-climate-heat-color);
}
And this for AC:
.bubble-temperature-display {
color: var(--state-climate-cool-color);
}
I will close this, but don't hesitate to ask if you have more questions 🙂
Thanks, I'll just comment here what I ended up with since your snippet assumed different entities for heater and AC while I wanted the text color to change based on current mode:
.bubble-temperature-display {
color: ${state === "heat" ? "var(--state-climate-heat-color)" : "var(--state-climate-cool-color)" }
}
Thanks for your help!
Even better, thanks for sharing this! 👌
Describe the bug
Thermostat target temperatures are only colored when heat_cool mode is selected. When mode is set to heat or cool, the text remains white.
Expected behavior
Expecting target low temperature to be orange and target high temperature to be blue regardless of mode.
Screenshots
Informations (please complete the following information):