Hi everyone,
I would like to toggle a layer on a floorplan’s application but impossible.
The goal is to show or not some button on the screen.
The mouse change when I go to the button, but nothing change when I click.
the svg looks:
and on card:
- element: button_terrasseouest-led
tap_action:
service: floorplan.class_toggle
service_data:
classes:
- layer-visible
- layer-hidden
default_class: layer-hidden
elements:
- light-rez-terrasseouest-led
The CSS looks working because some other layers could be hidden and set visible.