DBuit / Homekit-panel-card

Homekit panel card for home assistant
MIT License
304 stars 54 forks source link

Ability to set state based off of attribute #78

Closed ghost closed 3 years ago

ghost commented 4 years ago

I'm not sure if this is possible, but I have an attribute for heating valves, which show their state in a very counter-intuitive way

Screenshot 2020-08-20 at 22 13 25

Because hvac_mode will never be "off", they show up as active all the time.

Screenshot 2020-08-20 at 22 14 46

What I want, is to mark the entity as being active by looking at hvac_action, which can be "idle" or "heating". Is this possible?