Skip to content

Commit

Permalink
Replace platform: mqtt with trigger: mqtt
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt committed Oct 16, 2024
1 parent 2342d93 commit 62417d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions automations/control_switches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@
- alias: "Control switches: bedroom IKEA dimmer switch"
mode: parallel
triggers:
- platform: mqtt
- trigger: event
topic: "zigbee2mqtt/IKEA Remote (Bedroom)"
- platform: mqtt
- trigger: event
topic: "zigbee2mqtt/IKEA Remote (Bedroom Marcella)"
variables:
actions: "{{ trigger.payload_json.action }}"
Expand Down

0 comments on commit 62417d1

Please sign in to comment.