From 14f7a90dafd32e539bc7dbbf5fda77925d66d123 Mon Sep 17 00:00:00 2001 From: "J.P. Krauss" Date: Wed, 4 May 2022 15:09:01 -0700 Subject: [PATCH] Fix automation syntax --- packages/lighting/main.yaml | 65 +++++++++++++++++++------------------ 1 file changed, 33 insertions(+), 32 deletions(-) diff --git a/packages/lighting/main.yaml b/packages/lighting/main.yaml index 2521950..ff62cc0 100644 --- a/packages/lighting/main.yaml +++ b/packages/lighting/main.yaml @@ -2,36 +2,37 @@ # ----------------------------------------------------------------------------- # Automations for Bedroom Nighstand Lamps -automation jen_nighstand_lamp: - alias: Jen Nighstand Lamp - description: '' - mode: single - trigger: - - device_id: 98d9a86c7838fdbfcbdaeceef9a98f36 - domain: zha - platform: device - type: remote_button_short_press - subtype: remote_button_short_press - condition: [] - action: - - type: toggle - device_id: 444b8c5db71e96e192187688e1140d9a - entity_id: light.jen_nightstand_light - domain: light +automation: + - id: jen_nighstand_lamp + alias: Jen Nighstand Lamp + description: '' + mode: single + trigger: + - device_id: 98d9a86c7838fdbfcbdaeceef9a98f36 + domain: zha + platform: device + type: remote_button_short_press + subtype: remote_button_short_press + condition: [] + action: + - type: toggle + device_id: 444b8c5db71e96e192187688e1140d9a + entity_id: light.jen_nightstand_light + domain: light -automation jp_nighstand_lamp: - alias: J.P. Nighstand Lamp - description: '' - mode: single - trigger: - - device_id: f223ed24fe135bfd6bb7006dddb6b9f8 - domain: zha - platform: device - type: remote_button_short_press - subtype: remote_button_short_press - condition: [] - action: - - type: toggle - device_id: a9a219b3e184e045a40959605b4c2be0 - entity_id: light.jp_nighstand_light - domain: light + - id: jp_nighstand_lamp: + alias: J.P. Nighstand Lamp + description: '' + mode: single + trigger: + - device_id: f223ed24fe135bfd6bb7006dddb6b9f8 + domain: zha + platform: device + type: remote_button_short_press + subtype: remote_button_short_press + condition: [] + action: + - type: toggle + device_id: a9a219b3e184e045a40959605b4c2be0 + entity_id: light.jp_nighstand_light + domain: light