DBuit / Homekit-panel-card

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

Multiple State-controlled Icons #79

Closed pineappeal closed 3 years ago

pineappeal commented 4 years ago

Adding an optional parameter where the user can set the main tile icon to be reflect the state of an entity- either the main entity of the tile or another entity. The idea would be to allow the tile to reflect multiple state-controlled icons. I've attached a picture for illustration purposes - this is taken from a UI I had on a previous HA installation where I had icons for light, motion sensor and door contact sensor each reflecting an entity's state (for your inspiration 😄 )

e1e807b6b96585495d1399d2d6fa063949cb946b

diestake commented 3 years ago

+1

wtrbuit commented 3 years ago

What you are basically asking is to be able to get a tile which now represents 1 entity to have a tile where you can enter multiple (max 2 or 3) entities and show the icon for each of those entities in the tiles which reflect the status of the entity. Is that in short what you would like to have?

DBuit commented 3 years ago

@wtrbuit i think the idea is to have different icons for each state of 1 entity. So simple one would be light entity and have a different icon for the on state and off state But other entities could have more than 2 states.