Using Zigbee Button to turn on a device

did you look in the blueprints for something ??

know the OLDWAY

first u need to see the TRIGGER

so i would go into the events and watch for the Event to happen
as its a zha_event set it to listen to that.

know the we see the event when I press the button

so

- alias: 'Turn Off water Alarm'
  initial_state: 'on'
  trigger:
    platform: event
    event_type: zha_event
    data:
      device_id:  "1222011164fad43b63125b103bb72161"
      command: "single"
  action:
    service: light.toggle
    entity_id: light.yourlightyouwantto toggle

1 Like