From b182d43a24df189e19f4e9fb63b862e0bc3734ab Mon Sep 17 00:00:00 2001 From: James Walker Date: Mon, 13 Dec 2021 22:49:14 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20porch=20light=20automations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .HA_VERSION | 2 +- automations.yaml | 2 +- automations/main_floor/porch_light.yaml | 27 +++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 automations/main_floor/porch_light.yaml diff --git a/.HA_VERSION b/.HA_VERSION index 9a113df..22bd7d5 100644 --- a/.HA_VERSION +++ b/.HA_VERSION @@ -1 +1 @@ -2021.9.7 \ No newline at end of file +2021.12.1 \ No newline at end of file diff --git a/automations.yaml b/automations.yaml index 0637a08..fe51488 100644 --- a/automations.yaml +++ b/automations.yaml @@ -1 +1 @@ -[] \ No newline at end of file +[] diff --git a/automations/main_floor/porch_light.yaml b/automations/main_floor/porch_light.yaml new file mode 100644 index 0000000..460f1fb --- /dev/null +++ b/automations/main_floor/porch_light.yaml @@ -0,0 +1,27 @@ + +- id: '1634154676822' + alias: Turn on front porch light + description: '' + trigger: + - platform: sun + event: sunset + condition: [] + action: + - type: turn_on + device_id: 749027ddc2ff3cc59e22c2557329ec0a + entity_id: switch.front_porch + domain: switch + mode: single +- id: '1639358610226' + alias: Turn off front porch light + description: '' + trigger: + - platform: time + at: '23:30:00' + condition: [] + action: + - type: turn_off + device_id: 749027ddc2ff3cc59e22c2557329ec0a + entity_id: switch.front_porch + domain: switch + mode: single