From a6f5a7765585627e2b92ed47ba5bb697c8a6505d Mon Sep 17 00:00:00 2001 From: pgrondek Date: Mon, 31 May 2021 23:34:16 +0200 Subject: [PATCH] Add covers --- configuration/automations/alarm-clock.yaml | 5 ++++- configuration/configuration.yaml | 12 ++++++++++++ scripts/10.modes.yaml | 10 ++++++++-- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/configuration/automations/alarm-clock.yaml b/configuration/automations/alarm-clock.yaml index 3286765..5e51a38 100644 --- a/configuration/automations/alarm-clock.yaml +++ b/configuration/automations/alarm-clock.yaml @@ -7,7 +7,10 @@ action: - service: cover.open_cover target: - entity_id: cover.bedroom_blind + entity_id: cover.bedroom_blinds + - service: cover.open_cover + target: + entity_id: cover.computer_cave_blinds - delay: '15' - service: media_player.volume_set data: diff --git a/configuration/configuration.yaml b/configuration/configuration.yaml index 12a342c..bba48a0 100644 --- a/configuration/configuration.yaml +++ b/configuration/configuration.yaml @@ -475,6 +475,18 @@ switch: name: luxoft mac: 'f8:75:a4:67:8f:e3' +cover: + - platform: group + name: Bedroom Blinds + entities: + - cover.bedroom_blind_left + - cover.bedroom_blind_right + - platform: group + name: Computer Cave Blinds + entities: + - cover.computer_cave_blind_left + - cover.computer_cave_blind_right + input_select: # Living Room living_room_air_purifier_mode: diff --git a/scripts/10.modes.yaml b/scripts/10.modes.yaml index d194b1c..44ffae7 100644 --- a/scripts/10.modes.yaml +++ b/scripts/10.modes.yaml @@ -40,7 +40,10 @@ good_night: addon: core_samba - service: cover.close_cover target: - entity_id: cover.bedroom_blind + entity_id: cover.bedroom_blinds + - service: cover.close_cover + target: + entity_id: cover.computer_cave_blinds - service: lock.lock target: entity_id: lock.front_door_25f246fe_door_lock @@ -51,7 +54,10 @@ good_morning: sequence: - service: cover.open_cover target: - entity_id: cover.bedroom_blind + entity_id: cover.bedroom_blinds + - service: cover.open_cover + target: + entity_id: cover.computer_cave_blinds - service: alarm_control_panel.alarm_disarm entity_id: alarm_control_panel.ha_alarm - service: input_select.select_option