Advertisement
energywave

Per Paolo1

Jun 28th, 2022
1,128
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.28 KB | None
  1. alias: Pulsante test
  2. description: 'Pulsante test'
  3. trigger:
  4.   - platform: event
  5.     event_type: zha_event
  6.     event_data:
  7.       device_ieee: "54:ef:44:10:00:2a:1c:7d"
  8.       command: "toggle"
  9. action:
  10.   - service: switch.toggle
  11.     target:
  12.       entity_id: switch.sonoff_10011be1a7
  13.  
Advertisement
RAW Paste Data Copied
Advertisement