Hi All,
I am following the guide here for 3D floorplans:
https://sharethelove.io/picture-elements-cards/3d-floorplan
I have the main floorplan image and separate mattes for each room.
I can see that the opacity of the matte changes when the entity is toggled from a separate UI in other browser tab, but I cannot tap on the rooms to toggle - just does not work.
E.g. if I toggle light.kitchen_pendant I can see the change from this:
to this:
But the same will not happen when I click on the kitchen area on the card.
Here is the config:
type: picture-elements
width: 100%
image: /local/lovelace/images/floorplans/Home_Ground_Floor.png
elements:
- type: image
action: call-service
service: light.toggle
entity: light.kitchen_pendant
image: >-
/local/lovelace/images/floorplans/Home_Ground_Floor_Kitchen_Matte.png
state_filter:
'off': opacity(70%)
'on': opacity(1%)
style:
top: 50%
left: 50%
width: 100%
Any help much appreciated!