I have a cover template that used to work well but since around a month again I no longer see open/closed; instead it’s on/off.
Here’s the YAML in my configuration.yaml file. What’s interesting is that the icon template works fine so the icons are correct but for some reason it’s not using open/closed from the value template. Any idea what I’m doing wrong here?
Okay, so I replaced that and it’s still showing on/off instead of open/closed. I’m using button-card, by the way. I’m not sure if that matters. It shows correctly if I just create an entity card for the sensor.
As a third party frontend resource you will have to take that up with the developer, however that particular card has a lot of bugs and is no longer being actively maintained.
I scraped together some code from a few posts to knock up this,
hopefully it’s of use. It shows ‘open’ and ‘closed’, and changes the icon colour and type
just stick it in its own card or something - this is the size in my WIP dash - those are standard chips to the right , HA seems to default to 3 columns total so these two take one column
Almost there. I just want to remove the border around the icon and add something for when the button is being pressed. I’ll keep playing around with this and see what I can work out. Here’s what I have so far, though.