Fix automation syntax

This commit is contained in:
2022-05-04 15:09:01 -07:00
parent efd9d0948c
commit 14f7a90daf

View File

@@ -2,36 +2,37 @@
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Automations for Bedroom Nighstand Lamps # Automations for Bedroom Nighstand Lamps
automation jen_nighstand_lamp: automation:
alias: Jen Nighstand Lamp - id: jen_nighstand_lamp
description: '' alias: Jen Nighstand Lamp
mode: single description: ''
trigger: mode: single
- device_id: 98d9a86c7838fdbfcbdaeceef9a98f36 trigger:
domain: zha - device_id: 98d9a86c7838fdbfcbdaeceef9a98f36
platform: device domain: zha
type: remote_button_short_press platform: device
subtype: remote_button_short_press type: remote_button_short_press
condition: [] subtype: remote_button_short_press
action: condition: []
- type: toggle action:
device_id: 444b8c5db71e96e192187688e1140d9a - type: toggle
entity_id: light.jen_nightstand_light device_id: 444b8c5db71e96e192187688e1140d9a
domain: light entity_id: light.jen_nightstand_light
domain: light
automation jp_nighstand_lamp: - id: jp_nighstand_lamp:
alias: J.P. Nighstand Lamp alias: J.P. Nighstand Lamp
description: '' description: ''
mode: single mode: single
trigger: trigger:
- device_id: f223ed24fe135bfd6bb7006dddb6b9f8 - device_id: f223ed24fe135bfd6bb7006dddb6b9f8
domain: zha domain: zha
platform: device platform: device
type: remote_button_short_press type: remote_button_short_press
subtype: remote_button_short_press subtype: remote_button_short_press
condition: [] condition: []
action: action:
- type: toggle - type: toggle
device_id: a9a219b3e184e045a40959605b4c2be0 device_id: a9a219b3e184e045a40959605b4c2be0
entity_id: light.jp_nighstand_light entity_id: light.jp_nighstand_light
domain: light domain: light