ciotlosm / lovelace-thermostat-dark-card

🌡 Thermostat card with a round and black feel to it
MIT License
728 stars 186 forks source link

I'd like to see the temperature in the center of the dial display #267

Open danielbrunt57 opened 3 years ago

danielbrunt57 commented 3 years ago

There are a few differences between your dark thermostat and the nest app. I'd like to see the temperature in the center of the dial display:

If preset_mode is 'eco "ECO" Else If climate.living_room state is: heat: "HEAT SET TO" climate.living_room_temperature cool "COOLING SET TO" climate.living_room_temperature off'`: "OFF"

Additionally, the size of the current_temperature index should be shorter than the size of the temperature index. The color of the indexes for the active_path I think it's called could be brighter.

Here are some images...

image

image

image

image

image

image

danielbrunt57 commented 3 years ago

While we're at it, the gap between the indexes and the outer edge of the dial is much larger than Nest app...

image

Oh, and I forgot rounding to nearest 0.5 C or nearest 1.0 F! Celsius: round(1,"half") Fahrenheit: round()

Internally, the Nest uses C and converts the displayed value to F. Step size on the dial seems to be 0.1 (audible click) but in the app it is 0.5 C or 1.0 F. Strangely, currently increasing from 71F in the Nest app by 1F jumped to 73C. I believe this was due to the internal stored temp in C and with an app step size of 1F I could not get the app to 72F which is exactly 22.5C. I noticed in dev tools that the C value was 22.6C which is 72.68F which nest rounded to 73F. If I called the service with temperature: 22.5 the nest app displayed 72F. This was all with Nest set to F but HA set to C. Setting a step of 0.1 in your card solved the issue for me but would still like to see the displayed value rounded as per above so the card matches the nest app.

ciotlosm commented 3 years ago

Thanks for all the details. I will probably get to this after the holidays.

danielbrunt57 commented 3 years ago

I'm working on a sensor which will estimate the time_to_temp. If/when successful, it will be possible for the card to display IN 50 MIN.