mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-06 18:08:45 +00:00
Add living room cover
This commit is contained in:
@@ -20,6 +20,7 @@ script:
|
||||
- service: script.bed_led_on
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.mercury_home_mode
|
||||
- service: script.routine_coming_home_during_daytime
|
||||
- service: script.routine_coming_home_after_sunset
|
||||
- service: input_select.select_option
|
||||
entity_id: input_select.hallway_dashboard_mode
|
||||
@@ -31,6 +32,23 @@ script:
|
||||
- service: script.turn_on_all_radiators
|
||||
|
||||
|
||||
|
||||
|
||||
routine_coming_home_during_daytime:
|
||||
alias: Routine · Coming home · During daytime
|
||||
sequence:
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: sun
|
||||
after: sunrise
|
||||
- condition: sun
|
||||
before: sunset
|
||||
- service: cover.set_cover_position
|
||||
entity_id: cover.living_room
|
||||
data:
|
||||
poisition: 80
|
||||
|
||||
|
||||
routine_coming_home_after_sunset:
|
||||
alias: Routine · Coming home · After sunset
|
||||
sequence:
|
||||
|
||||
@@ -23,6 +23,9 @@ script:
|
||||
data:
|
||||
option: "Coming Home"
|
||||
|
||||
- service: cover.close_cover
|
||||
entity_id: cover.living_room
|
||||
|
||||
- service: notify.telegram
|
||||
data:
|
||||
title: "🏠 *Presence Module · Leaving Home*"
|
||||
|
||||
Reference in New Issue
Block a user