artem-sedykh / mini-climate-card

Minimalistic climate card for Home Assistant Lovelace UI
MIT License
281 stars 19 forks source link

Force trailing zero for temperature #13

Closed noxhirsch closed 4 years ago

noxhirsch commented 4 years ago

Hi, it would be nice, if you have set temperature: round to 1 or more, that trailing zeros of the actual temperature don't get cut off. The target temperature in comparison has trailing zeros. This would make the look of a stack of climate cards look more even. At the moment it looks like this: image Better would be: 12.0 / 22.0 12.0 / 23.0 12.0 / 21.2

Thank you very much!

artem-sedykh commented 4 years ago

fixed setting for temperature will be added
For example:

- type: custom:mini-climate
  entity: climate.dahatsu
  name: Кондиционер
  temperature:
    fixed: 1
noxhirsch commented 4 years ago

Wow, that was fast! Thank you very much! :)

artem-sedykh commented 4 years ago

There was time to do this, nothing!