jmcollin78 / versatile-thermostat-ui-card

A custom card for a Versatile thermostat in home assistant based on versatile_thermostat integration
https://github.com/jmcollin78/versatile_thermostat
MIT License
22 stars 4 forks source link

Heating / Off button inversion if thermostat is of "over thermostat" type #22

Open romainrossi opened 10 months ago

romainrossi commented 10 months ago

I have multiple instances of Versatile Thermostats, and I use a Versatile-thermostat-ui-card on all of them. I have noticed a small diplay bug : on the only "thermostat-over-thermostat" I have, the "Heat" and "Off" button are reversed versus the other thermostats.

As you can see on screenshot below, the "Séjour" thermostat Heat/Off buttons are in reverse order. image The main difference between this thermostat and the others (3 shown but I have 4 more), is the "Séjour" is of type "Thermostat over thermostat" while the others are "over switch".

I would expect the UI renders identically, whatever the underlying Versatile Thermostat type.

I take the opportunity to thank you very warmly (pun intended) for this wonderful work you are doing !

jmcollin78 commented 9 months ago

Hello, the order for VTherm over_climate is given by the underlying climate. If you have more hvac_mode you have something like that :

Capture d’écran 2024-01-21 à 09 46 08

But you are right I will try to always put the turn-off button at the end. Thank you for your report.

jezzaaa commented 3 months ago

I have the same problem, with my "over thermostat" device using a ZigBee physical thermostat:

image

jmcollin78 commented 2 months ago

Yes I will reorder the hvac-modes coming from the underlying.