Hi there,
I have a floorplan (picture elements card) that is working functionally. However clicking on the floorplan or blank spaces anywhere else seem to open up the information on bedroom lights. I have attached my code below, how do I stop it from opening? Thanks alot!
type: picture-elements
image: local/3dplan/no_light.png
elements:
- type: image
entity: light.lucency_dining
style:
left: 50%
top: 50%
width: 100%
state_image:
"on": local/3dplan/dining.png
"off": local/3dplan/blank.png
- type: image
entity: light.lucency_kitchen
style:
left: 50%
top: 50%
width: 100%
state_image:
"on": local/3dplan/kitchen.png
"off": local/3dplan/blank.png
- type: image
entity: light.lucency_living
style:
left: 50%
top: 50%
width: 100%
state_image:
"on": local/3dplan/living.png
"off": local/3dplan/blank.png
- type: image
entity: light.lucency_toilet
style:
left: 50%
top: 50%
width: 100%
state_image:
"on": local/3dplan/toilet.png
"off": local/3dplan/blank.png
- type: image
entity: light.lucency_bedroom
style:
left: 50%
top: 50%
width: 100%
state_image:
"on": local/3dplan/bedroom.png
"off": local/3dplan/blank.png
- type: state-icon
entity: light.lucency_kitchen
tap_action:
action: toggle
style:
left: 69%
top: 90%
border-radius: 50%
background-color: rgba(128,128,128,0.6)
- type: state-icon
entity: light.lucency_living
tap_action:
action: toggle
style:
left: 53%
top: 3%
border-radius: 50%
background-color: rgba(128,128,128,0.6)
- type: state-icon
entity: light.lucency_dining
tap_action:
action: toggle
style:
left: 94%
top: 20%
border-radius: 50%
background-color: rgba(128,128,128,0.6)
- type: state-icon
entity: light.lucency_bedroom
tap_action:
action: toggle
style:
left: 5%
top: 20%
border-radius: 50%
background-color: rgba(128,128,128,0.6)
- type: state-icon
entity: light.lucency_toilet
tap_action:
action: toggle
style:
left: 30%
top: 70%
border-radius: 50%
background-color: rgba(128,128,128,0.6)
- type: state-icon
entity: climate.lucency_ac
tap_action:
action: toggle
style:
left: 55%
top: 50%
border-radius: 50%
background-color: rgba(128,128,128,0.6)
```t