Skip to content

Commit 62417d1

Browse files
committed
Replace platform: mqtt with trigger: mqtt
1 parent 2342d93 commit 62417d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

automations/control_switches.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@
148148
- alias: "Control switches: bedroom IKEA dimmer switch"
149149
mode: parallel
150150
triggers:
151-
- platform: mqtt
151+
- trigger: event
152152
topic: "zigbee2mqtt/IKEA Remote (Bedroom)"
153-
- platform: mqtt
153+
- trigger: event
154154
topic: "zigbee2mqtt/IKEA Remote (Bedroom Marcella)"
155155
variables:
156156
actions: "{{ trigger.payload_json.action }}"

0 commit comments

Comments
 (0)