@antoniod wrote:
Hi everyone! I am a new fan of home automation and I am discovering this world day by day. I have some difficulties that I would like to explain to you. If there is anyone who can help me, I would be hugely grateful.
I installed home assistant 0.107.7 (hassio) on raspberry pi 3. I followed the example described here https://www.juanmtech.com/set-up-the-picture-elements-card-in-home-assistant/ completing the whole tutorial. I can’t do the same job on two or more rooms on the same floor plan using the custom “picture elements” tab. If I add them on the same tab, the second action I create replaces the first and only one works.
here I leave the code used:
elements: - entity: switch.led_rosso image: /local/custom_ui/floorplan/letto.png state_filter: 'off': brightness (50%) 'on': brightness (100%) style: left: 50% top: 50% width: 100% tap_action: none type: image - entity: switch.led_rosso icon: 'mdi: ceiling-light' style: '--iron-icon-height': 42px '--iron-icon-width': 42px left: 35% top: 66% tap_action: action: toggle type: state-icon - entity: switch.led_verde image: /local/custom_ui/floorplan/cucina.png state_filter: 'off': brightness (50%) 'on': brightness (100%) style: left: 50% top: 50% width: 100% tap_action: none type: image - entity: switch.led_verde icon: 'mdi: ceiling-light' style: '--iron-icon-height': 42px '--iron-icon-width': 42px left: 30% top: 25% tap_action: action: toggle type: state-icon image: /local/custom_ui/floorplan/pianta.png type: picture-elements
Thanks in advance to anyone who can help me out!
Posts: 1
Participants: 1