Hi everyone,
I’m using Hassio v5.10 and I have created my floor plan with some pictures elements in it.
I have connected one of the images to one of my Tuya switches (contain natural wire) and I configured the brightness as:
‘on’: brightness(120%)
‘off’: brightness(100%)
When I click on the image from the floor plan the state of the switch and the brightness are changing as expected.
The issue is that when I toggle the switch itself it doesn’t reflect on the image in the floorplan.
Can someone help please?
- title: Floor plan
icon: 'mdi:home-circle-outline'
panel: true
cards:
- type: picture-elements
image: /local/Lior_final_Plan.png
elements:
- type: image
entity: switch.parentsroom
tap_action:
action: toggle
image: /local/ParentsRoom.png
state_filter:
'on': brightness(150%)
'off': brightness(100%)
style:
top: 39.7%
left: 42.2%
width: 10%