Hi All, here is my first post.
I am struggling for some time to get the lights going in my house. When configuring the first light all was working correct, continued wit the next light and tested ok however noticed the first light is not working anymore. Added a third light and now the first two lights are not working. When I reduced the width from 100% to 20% all the lights are working however the picture becomes very small. Added state icons (width set to 1%) and disabled tap action however still no succes. Is there anyone who can assist with this problem??
Please find configuration below.
type: picture-elements
image: /local/images/3D_floorplan/Alles_uit.png
elements:
- type: image
tap_action:
action: none
state_image:
"on": /local/images/3D_floorplan/Dartbord_Verlichting_aan.png
"off": /local/images/3D_floorplan/Transparant.png
style:
left: 50%
top: 50%
width: 20%
entity: light.dartbord_verlichting_394
hold_action:
action: none
- type: state-icon
tap_action:
action: toggle
icon: mdi:spotlight
entity: light.dartbord_verlichting_394
style:
left: 45%
top: 23%
with: 1%
- type: image
tap_action:
action: none
state_image:
"on": /local/images/3D_floorplan/Eetkamer_aan.png
"off": /local/images/3D_floorplan/Transparant.png
style:
left: 50%
top: 50%
width: 20%
entity: light.keuken_hue_lampen_keuken_14
hold_action:
action: none
- type: state-icon
tap_action:
action: toggle
icon: mdi:ceiling-light-multiple
entity: light.keuken_hue_lampen_keuken_14
style:
left: 62%
top: 39%
with: 1%
hold_action:
action: none
- type: image
tap_action:
action: none
state_image:
"on": /local/images/3D_floorplan/Tuindeur_Verlichting_aan.png
"off": /local/images/3D_floorplan/Transparant.png
style:
left: 50%
top: 50%
width: 20%
entity: light.deur_spots
hold_action:
action: none
- type: state-icon
tap_action:
action: toggle
icon: mdi:lightbulb-spot
entity: light.deur_spots
style:
left: 40%
top: 41%
with: 1%