nervetattoo / simple-thermostat

A different take on the thermostat card for Home Assistant ♨️
MIT License
745 stars 112 forks source link

Change sensors from on/off to open/closed #402

Open gregf888 opened 1 year ago

gregf888 commented 1 year ago

This is a very small issue. I have zigbee sensors to detect when the shutters on my split systems are open or closed. Previously the status displayed as open/closed but after a recent update they now display as on/off and I cannot find any way to change the behaviour, Please note: The underlying entity is configured to be a door and shows open/closed SimpleThermo1 SimpleThermo2

mycanaletto commented 11 months ago

Same problem I'm trying to get around.

Is this card still maintained? It's been a long time since I've seen a new version.

duczz commented 11 months ago

Im waiting for this too

CH-Tefi commented 10 months ago

same problem

Aenos85 commented 6 months ago

Did anyone has a sulution or workaround for this?

jbrandek commented 3 months ago

check here https://github.com/nervetattoo/simple-thermostat/blob/master/examples/sensors.md version 3 supports templating the sensors....

gregf888 commented 2 months ago

check here https://github.com/nervetattoo/simple-thermostat/blob/master/examples/sensors.md version 3 supports templating the sensors....

Thanks for your reply. I tried to quickly understand templating and then use the suggested changes but I got absolutely nowhere. Could someone who understand this tell me what I have to change in the following code to make the binary_sensor.shutter_study_ac_3cc56522_ias_zone display open/close and not on/off

`type: custom:simple-thermostat sensors: