I have this zigbee button:
I want to toggle the light, when I test with “execute” in the UI it works, but not when pressing the button physically.
What’s wrong? I’ve restarted HA.
alias: Toggle Luz Sala
description: ''
trigger:
- platform: event
event_type: click
event_data:
entity_id: binary_sensor.switch_158d0001d62b0d
action:
- type: toggle
device_id: 8de9edda8db975633392ae7f920d66a1
entity_id: light.luz
domain: light
mode: single