Hi There, I have configured my floorplan. The problem is, that wherever I click, i see a status about one of my switches (switch.spot_steckdose)
Hope you can figure out why:
type: picture-elements
image: local/images/floorplan/Alles Dunkel.png
elements:
- type: image
entity: device_tracker.corona_corolla_parking_location
style:
left: 59%
top: 24%
width: 24%
state_image:
home: /local/images/floorplan/corolla_1.png
not_home: /local/images/floorplan/transparent.png
- type: image
entity: light.stube_led
style:
left: 50%
top: 50%
width: 100%
state_image:
'on': /local/images/floorplan/stube_led_100.png
'off': /local/images/floorplan/transparent.png
- type: image
entity: switch.spot_steckdose
style:
left: 50%
top: 50%
width: 100%
state_image:
'on': /local/images/floorplan/stube_spot_100.png
'off': /local/images/floorplan/transparent.png
- type: conditional
conditions:
- entity: light.stube_led
state: 'on'
- entity: switch.spot_steckdose
state: 'on'
elements:
- type: image
image: /local/images/floorplan/stube_ledspot_100.png
style:
left: 50%
top: 50%
width: 100%
- type: state-icon
entity: switch.aquarium
style:
left: 43%
top: 60%
tap_action:
action: toggle
- type: state-icon
entity: switch.mi_air_purifier_3c_air_purifier_physical_controls_locked
style:
left: 66%
top: 80%
tap_action:
action: toggle
- type: state-icon
entity: light.stube_led
style:
left: 20%
top: 85%
tap_action:
action: toggle
- type: state-icon
entity: switch.spot_steckdose
style:
left: 43%
top: 75%
tap_action:
action: toggle
- type: state-label
entity: sensor.heizkorperthermostat_temperature
style:
top: 90%
left: 33%
color: '#000'
border-radius: 50%
text-align: center
background-color: 'rgba(255, 255, 255, 0.3)'
font-size: 11px
font-weight: bold
- type: state-label
entity: sensor.heizkorperthermostat_temperature_2
style:
top: 97%
left: 71%
color: '#000'
border-radius: 50%
text-align: center
background-color: 'rgba(255, 255, 255, 0.3)'
font-size: 11px
font-weight: bold
- type: state-label
entity: sensor.yumis_heizung_temperature
style:
top: 93%
left: 53%
color: '#000'
border-radius: 50%
text-align: center
background-color: 'rgba(255, 255, 255, 0.3)'
font-size: 11px
font-weight: bold
- type: state-label
entity: device_tracker.corona_corolla_parking_location
style:
top: 21%
left: 53%
color: '#000'
border-radius: 69%
text-align: center
background-color: 'rgba(255, 255, 255, 0.3)'
font-size: 11px
font-weight: bold
tap_action:
action: more-info