fix(lighting): keep routine sunset lighting silent

pull/1898/head
Carlo Costanzo 2 months ago
parent 7776740f7f
commit fd59605ffa

@ -27,7 +27,7 @@ Time-based routines for wake/sleep cycles, sunrise/sunset shifts, and nightly wa
| File | Why it matters |
| --- | --- |
| [![YAML source: sunrise_turn_off](https://img.shields.io/static/v1?label=YAML&message=sunrise_turn_off&color=lightgrey&logo=github&logoColor=181717)](sunrise_turn_off.yaml) | Shut down overnight lights as the sun comes up. |
| [![YAML source: sunset_turn_on](https://img.shields.io/static/v1?label=YAML&message=sunset_turn_on&color=lightgrey&logo=github&logoColor=181717)](sunset_turn_on.yaml) | Evening exterior/interior light kickoff. |
| [![YAML source: sunset_turn_on](https://img.shields.io/static/v1?label=YAML&message=sunset_turn_on&color=lightgrey&logo=github&logoColor=181717)](sunset_turn_on.yaml) | Evening lighting kickoff with speech only for package or security exceptions. |
| [![YAML source: night_watchdog](https://img.shields.io/static/v1?label=YAML&message=night_watchdog&color=lightgrey&logo=github&logoColor=181717)](night_watchdog.yaml) | Late-night checks that everything is closed and safe. |
| [![YAML source: wake_up](https://img.shields.io/static/v1?label=YAML&message=wake_up&color=lightgrey&logo=github&logoColor=181717)](wake_up.yaml) | Morning scene starter that eases into the day. |

@ -4,8 +4,10 @@
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# -------------------------------------------------------------------
# Sunset Trigger - evening lighting kickoff
# Turns on interior/exterior accents around sunset with safety checks.
# Turns on evening accents; speaks only for package or security exceptions.
# -------------------------------------------------------------------
# Notes: Normal sunset lighting is silent. Speech is reserved for an actionable
# package, unlocked front door, open garage door, or open entry point.
######################################################################
- alias: 'Sunset Stuff on'
@ -43,11 +45,19 @@
- condition: state
entity_id: input_boolean.house_sitter_present
state: 'on'
- condition: template
value_template: >-
{{
is_state('binary_sensor.front_door_packages_present', 'on')
or is_state('lock.front_door', 'unlocked')
or is_state('group.entry_points', 'on')
or is_state('cover.large_garage_door', 'open')
or is_state('cover.small_garage_door', 'open')
}}
sequence:
- service: script.speech_engine
data:
call_dark_outside: 1
call_window_check: 1
call_no_announcement: 1
- service: homeassistant.turn_on
entity_id:
- switch.front_landscaping

Loading…
Cancel
Save

Powered by TurnKey Linux.