Skip to content

Commit e1ac0ba

Browse files
committed
fix actions
1 parent 3012920 commit e1ac0ba

File tree

6 files changed

+43
-43
lines changed

6 files changed

+43
-43
lines changed

automations/apple_watch.yaml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@
7373
- trigger: event
7474
event_type: mobile_app_notification_action
7575
event_data:
76-
actions: SLEEP_OFF
76+
action: SLEEP_OFF
7777
- trigger: event
7878
event_type: mobile_app_notification_action
7979
event_data:
80-
actions: SLEEP_HALF
80+
action: SLEEP_HALF
8181
- trigger: event
8282
event_type: mobile_app_notification_action
8383
event_data:
84-
actions: SLEEP_TOTAL
84+
action: SLEEP_TOTAL
8585
timeout: "00:00:20"
8686
continue_on_timeout: false
8787
- variables:
@@ -124,31 +124,31 @@
124124
- trigger: event
125125
event_type: mobile_app_notification_action
126126
event_data:
127-
actions: SET_LIGHTS_ALL
127+
action: SET_LIGHTS_ALL
128128
- trigger: event
129129
event_type: mobile_app_notification_action
130130
event_data:
131-
actions: SET_LIGHTS_BEDROOM
131+
action: SET_LIGHTS_BEDROOM
132132
- trigger: event
133133
event_type: mobile_app_notification_action
134134
event_data:
135-
actions: SET_LIGHTS_LIVING_ROOM
135+
action: SET_LIGHTS_LIVING_ROOM
136136
- trigger: event
137137
event_type: mobile_app_notification_action
138138
event_data:
139-
actions: SET_LIGHTS_BATHROOM
139+
action: SET_LIGHTS_BATHROOM
140140
- trigger: event
141141
event_type: mobile_app_notification_action
142142
event_data:
143-
actions: SET_LIGHTS_HALL
143+
action: SET_LIGHTS_HALL
144144
- trigger: event
145145
event_type: mobile_app_notification_action
146146
event_data:
147-
actions: SET_LIGHTS_TOILET
147+
action: SET_LIGHTS_TOILET
148148
- trigger: event
149149
event_type: mobile_app_notification_action
150150
event_data:
151-
actions: SET_LIGHTS_KITCHEN
151+
action: SET_LIGHTS_KITCHEN
152152
timeout: "00:00:20"
153153
continue_on_timeout: false
154154
- variables:
@@ -185,31 +185,31 @@
185185
- trigger: event
186186
event_type: mobile_app_notification_action
187187
event_data:
188-
actions: LIGHTS_OFF
188+
action: LIGHTS_OFF
189189
- trigger: event
190190
event_type: mobile_app_notification_action
191191
event_data:
192-
actions: LIGHTS_ON
192+
action: LIGHTS_ON
193193
- trigger: event
194194
event_type: mobile_app_notification_action
195195
event_data:
196-
actions: LIGHTS_FIFTY
196+
action: LIGHTS_FIFTY
197197
- trigger: event
198198
event_type: mobile_app_notification_action
199199
event_data:
200-
actions: LIGHTS_HUNDRED
200+
action: LIGHTS_HUNDRED
201201
- trigger: event
202202
event_type: mobile_app_notification_action
203203
event_data:
204-
actions: LIGHTS_ONE
204+
action: LIGHTS_ONE
205205
- trigger: event
206206
event_type: mobile_app_notification_action
207207
event_data:
208-
actions: LIGHTS_WHITE
208+
action: LIGHTS_WHITE
209209
- trigger: event
210210
event_type: mobile_app_notification_action
211211
event_data:
212-
actions: LIGHTS_COZY
212+
action: LIGHTS_COZY
213213
timeout: "00:00:20"
214214
continue_on_timeout: false
215215
- variables:
@@ -325,31 +325,31 @@
325325
- trigger: event
326326
event_type: mobile_app_notification_action
327327
event_data:
328-
actions: VACUUM_LIVING_ROOM
328+
action: VACUUM_LIVING_ROOM
329329
- trigger: event
330330
event_type: mobile_app_notification_action
331331
event_data:
332-
actions: VACUUM_BEDROOM
332+
action: VACUUM_BEDROOM
333333
- trigger: event
334334
event_type: mobile_app_notification_action
335335
event_data:
336-
actions: VACUUM_OFFICE
336+
action: VACUUM_OFFICE
337337
- trigger: event
338338
event_type: mobile_app_notification_action
339339
event_data:
340-
actions: VACUUM_HALL
340+
action: VACUUM_HALL
341341
- trigger: event
342342
event_type: mobile_app_notification_action
343343
event_data:
344-
actions: VACUUM_KITCHEN
344+
action: VACUUM_KITCHEN
345345
- trigger: event
346346
event_type: mobile_app_notification_action
347347
event_data:
348-
actions: VACUUM_ALL
348+
action: VACUUM_ALL
349349
- trigger: event
350350
event_type: mobile_app_notification_action
351351
event_data:
352-
actions: VACUUM_STOP
352+
action: VACUUM_STOP
353353
timeout: "00:00:20"
354354
continue_on_timeout: false
355355
- variables:
@@ -423,31 +423,31 @@
423423
- trigger: event
424424
event_type: mobile_app_notification_action
425425
event_data:
426-
actions: T15
426+
action: T15
427427
- trigger: event
428428
event_type: mobile_app_notification_action
429429
event_data:
430-
actions: T16
430+
action: T16
431431
- trigger: event
432432
event_type: mobile_app_notification_action
433433
event_data:
434-
actions: T17
434+
action: T17
435435
- trigger: event
436436
event_type: mobile_app_notification_action
437437
event_data:
438-
actions: T18
438+
action: T18
439439
- trigger: event
440440
event_type: mobile_app_notification_action
441441
event_data:
442-
actions: T19
442+
action: T19
443443
- trigger: event
444444
event_type: mobile_app_notification_action
445445
event_data:
446-
actions: T20
446+
action: T20
447447
- trigger: event
448448
event_type: mobile_app_notification_action
449449
event_data:
450-
actions: T21
450+
action: T21
451451
timeout: "00:00:20"
452452
continue_on_timeout: false
453453
- variables:

automations/climate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
trigger: event
7777
event_type: mobile_app_notification_action
7878
event_data:
79-
actions: TURN_ON_HEATING
79+
action: TURN_ON_HEATING
8080
timeout: "00:00:20"
8181
continue_on_timeout: false
8282
- action: script.set_high_temperature

automations/control_switches.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
trigger: mqtt
1616
topic: "zigbee2mqtt/Dimmer Switch (Living room)"
1717
variables:
18-
actions: "{{ trigger.payload_json.action }}"
18+
action: "{{ trigger.payload_json.action }}"
1919
actions:
2020
choose:
2121
# Next color
@@ -78,7 +78,7 @@
7878
trigger: mqtt
7979
topic: "zigbee2mqtt/Dimmer Switch (Bedroom)"
8080
variables:
81-
actions: "{{ trigger.payload_json.action }}"
81+
action: "{{ trigger.payload_json.action }}"
8282
actions:
8383
choose:
8484
# Next color
@@ -153,7 +153,7 @@
153153
- trigger: mqtt
154154
topic: "zigbee2mqtt/IKEA Remote (Bedroom Marcella)"
155155
variables:
156-
actions: "{{ trigger.payload_json.action }}"
156+
action: "{{ trigger.payload_json.action }}"
157157
personal_light: >-
158158
{% if trigger.topic == 'zigbee2mqtt/IKEA Remote (Bedroom)' %}
159159
light.bed_led
@@ -461,7 +461,7 @@
461461
trigger: mqtt
462462
topic: "zigbee2mqtt/IKEA Switch (Guest room)"
463463
variables:
464-
actions: "{{ trigger.payload_json.action }}"
464+
action: "{{ trigger.payload_json.action }}"
465465
actions:
466466
choose:
467467
# Turn on
@@ -482,7 +482,7 @@
482482
trigger: mqtt
483483
topic: "zigbee2mqtt/Smart Switch (Guest Room)"
484484
variables:
485-
actions: "{{ trigger.payload_json.action }}"
485+
action: "{{ trigger.payload_json.action }}"
486486
actions:
487487
choose:
488488
# Toggle
@@ -504,7 +504,7 @@
504504
trigger: mqtt
505505
topic: "zigbee2mqtt/Smart Switch (Desk)"
506506
variables:
507-
actions: "{{ trigger.payload_json.action }}"
507+
action: "{{ trigger.payload_json.action }}"
508508
actions:
509509
choose:
510510
# Toggle
@@ -520,7 +520,7 @@
520520
trigger: mqtt
521521
topic: "zigbee2mqtt/Smart Switch (Baby Room)"
522522
variables:
523-
actions: "{{ trigger.payload_json.action }}"
523+
action: "{{ trigger.payload_json.action }}"
524524
actions:
525525
choose:
526526
# Toggle light
@@ -543,7 +543,7 @@
543543
trigger: mqtt
544544
topic: "zigbee2mqtt/Smart Switch (Mid Room)"
545545
variables:
546-
actions: "{{ trigger.payload_json.action }}"
546+
action: "{{ trigger.payload_json.action }}"
547547
actions:
548548
choose:
549549
# Toggle

automations/leaving.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
trigger: event
7777
event_type: mobile_app_notification_action
7878
event_data:
79-
actions: TURN_OFF_EVERYTHING
79+
action: TURN_OFF_EVERYTHING
8080
actions:
8181
action: script.leaving
8282

automations/notifications.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
trigger: event
9595
event_type: mobile_app_notification_action
9696
event_data:
97-
actions: "AGREE_WORD"
97+
action: "AGREE_WORD"
9898
timeout: "01:00:00"
9999
continue_on_timeout: false
100100

automations/security.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
trigger: event
3737
event_type: mobile_app_notification_action
3838
event_data:
39-
actions: SOUND_ALARM
39+
action: SOUND_ALARM
4040
timeout: "01:00:00"
4141
continue_on_timeout: false
4242
- action: light.turn_on

0 commit comments

Comments
 (0)