I have more than one garage, each represented as a cover entity in HA. I’m trying to figure out how to configure a Lovelace Entity Picture Card that would show a different picture based on the state of both doors. If either door is open, show an open door pic and if it’s closed show another pic. I’d like to use the Entity Picture Card so I can execute a script that would open all doors if they’re all closed and run another script to close all the doors if either one is open. Can I define a state entity that would include either both entities defined in the desired state or maybe blueprints to set the desired state.
I think I have a good idea how to do most of it but I’m hung up on how to represent a single device state based on the state of multiple devices.
Hey Tom, thanks for the tip. I defined the group successfully, and adding a entity picture card seems to work - if any of the gates are open the card shows as open. Unfortunately what I can’t seem to do is when I tap on the entity picture card:
If all of the doors are closed, open all of them.
If any of the doors are open, close all of them.
I tried using the “Toggle” option in the “Tap” field of the entity picture card but it still won’t work.
I tried another test using a Button card, same result. It shows the current state but when I tap the card it doesn’t open or close the doors. I defined two scenes, one with the doors all closed and one with them all open. I’m wondering if I could somehow incorporate that into the entity picture card?