From ab3719c5a2019951f145b966dc53c4e3b73054a4 Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Thu, 24 Feb 2022 23:37:03 -0500 Subject: [PATCH] Adding smartwings and switchbot curtains to the automations. --- config/packages/daily.yaml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/config/packages/daily.yaml b/config/packages/daily.yaml index 5f3edd1..09c8df7 100755 --- a/config/packages/daily.yaml +++ b/config/packages/daily.yaml @@ -168,6 +168,10 @@ automation: - service: switch.turn_on data: entity_id: switch.front_porch_light + - service: cover.close_cover + entity_id: + - cover.south_shade + - cover.living_room_2 - service: scene.turn_on entity_id: scene.normal_livingroom_lighting - service: script.sunset_garage_open @@ -263,16 +267,14 @@ automation: trigger: - platform: sun event: sunrise - offset: 01:30:00 - condition: - - condition: template - value_template: > - {%- if states.weather.klzu_hourly.state == "sunny" or states.weather.klzu_hourly.state == "partlycloudy" or states.weather.klzu_hourly.state == "clear" -%} - true - {%- endif -%} + offset: 00:20:00 action: - service: scene.turn_on entity_id: scene.skylar_room_day + - service: cover.open_cover + entity_id: + - cover.south_shade + - cover.living_room_2 - id: 82b96b73-2407-49d7-8ea2-1f78a69e025b alias: Jeff eta home @@ -396,4 +398,9 @@ script: entity_id: group.garage_doors state: 'on' - service: script.turn_on - entity_id: script.driveway_on \ No newline at end of file + entity_id: script.driveway_on + + good_night_routine: + sequence: + - service: scene.turn_on + entity_id: scene.skylar_room_sleep \ No newline at end of file