streamdeck-homeassistant
streamdeck-homeassistant copied to clipboard
Add support for more states, such as "active" for timers
This is another partial fix for #88 and a complement of sorts for #95
This PR adds a bunch more states that would be considered "on" for the custom icons entity. I did this because I have some washer / dryer timer helpers and want to show a green icon when the timer is running without having to make a template sensor in my HA instance.
I've tested it with my timers, and it works great. I haven't tested the others I added (charging
, home
, locked
, open
and opening
) because I don't have anything that uses those device_class
es