Is there a way to have a binary sensor act like a cover? I want to create a glance card to show window sensors which are just off/on to display Open/Closed with a windows-open icon and a windows-closed icon.
device_class: window
See here: https://www.home-assistant.io/integrations/binary_sensor/#device-class
If your binary sensors were discovered (as opposed to defined in YAML) you can add the class using customize.
Fantastic! Worked like a charm. Thank you.
May have spoken to soon. I properly shows the correct icon and state while closed. But still shows closed when I open the window.
Show your config for the window sensor.
OK it’s working. It wasn’t a config issue, it was a z-wave one. I had to restart HA since I opted to use an include in my configuration.yaml placing the customizations in customize.yaml. The restart re-initialized my z-wave network which took over 15 minutes to complete and then the window I was testing had to be healed manually as it went cached. Once all that was complete everything appears to be working.
But thanks for helping.