From ac3a298a1467763491de0e90d303f7b009d65055 Mon Sep 17 00:00:00 2001 From: Ben Charlton Date: Wed, 20 Dec 2017 18:42:16 +0000 Subject: [PATCH] Christmas Lights --- automations.yaml | 15 +++++++++++++++ customise.yaml | 3 +++ 2 files changed, 18 insertions(+) diff --git a/automations.yaml b/automations.yaml index fa56098..83008ad 100644 --- a/automations.yaml +++ b/automations.yaml @@ -60,3 +60,18 @@ badge: 3 +- alias: 'Christmas Lights Off' + trigger: + platform: time + at: '00:30:00' + action: + service: switch.turn_off + entity_id: switch.aeotec_zw096_smart_switch_6_switch + +- alias: 'Christmas Lights On' + trigger: + platform: time + at: '07:00:00' + action: + service: switch.turn_on + entity_id: switch.aeotec_zw096_smart_switch_6_switch diff --git a/customise.yaml b/customise.yaml index 2525fe7..9d6f4a8 100644 --- a/customise.yaml +++ b/customise.yaml @@ -53,3 +53,6 @@ sensor.hall_motion: icon: mdi:run + + switch.aeotec_zw096_smart_switch_6_switch: + friendly_name: Christmas Lights