I have created floorplan with several element for different lights. after restarting HA, I can tap picture for kitchen light and light turns on and shows that light on in card. When I tap stove light to turn on, it opens the kitchen lights device control card , not sure what to call it but has the switch for turning on kitchen light. How do I reset card so I can tap each light on card without opening a device switch card?
type: picture-elements
image: local/Floorplan/8710Base530.png
elements:
- type: image
entity: switch.shelly_tv_light
state_image:
"on": local/Floorplan/8710TVlights530cropped.png
"off": local/Floorplan/8710Transparent.png
style:
left: 50%
top: 50%
width: 100% - type: state-icon
entity: switch.shelly_tv_light
tap_action:
action: toggle
style:
left: 33%
top: 34%
rotate: 90deg
opacity: 0
"--mdc-icon-size": 55px
"--paper-item-icon-color": white - type: image
entity: switch.front_door_light
state_image:
"on": local/Floorplan/8710FrondDoorLight530cropped.png
"off": local/Floorplan/8710Transparent.png
style:
left: 50%
top: 50%
width: 100% - type: state-icon
entity: switch.front_door_light
tap_action:
action: toggle
style:
left: 70%
top: 65%
rotate: 90deg
opacity: 0
"--mdc-icon-size": 40px
"--paper-item-icon-color": green - type: image
entity: light.shelly_piano_lights
state_image:
"on": local/Floorplan/8710PianoLights530cropped.png
"off": local/Floorplan/8710Transparent.png
style:
left: 50%
top: 50%
width: 100% - type: state-icon
entity: light.shelly_piano_lights
tap_action:
action: toggle
hold_action:
action: more-info
style:
left: 46%
top: 45%
rotate: 0deg
opacity: 0
"--mdc-icon-size": 55px
"--paper-item-icon-color": green