From 59f35d27547a88e961bcfdf9eac3d6645225ebc5 Mon Sep 17 00:00:00 2001 From: Carlo Costanzo Date: Tue, 25 Aug 2026 17:06:05 -0400 Subject: [PATCH] Dim late-night arrival lighting --- config/automation/README.md | 1 + config/automation/late_night_helper.yaml | 12 +++++++++--- config/automation/living_room_color_defaults.yaml | 5 +++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/config/automation/README.md b/config/automation/README.md index e65f1745..c321ff21 100755 --- a/config/automation/README.md +++ b/config/automation/README.md @@ -33,6 +33,7 @@ Event-driven automations that sit outside the self-contained packages. These tie | [![YAML source: dash_buttons](https://img.shields.io/static/v1?label=YAML&message=dash_buttons&color=lightgrey&logo=github&logoColor=181717)](dash_buttons.yaml) | Amazon Dash buttons repurposed as quick triggers. | | [![YAML source: good_night](https://img.shields.io/static/v1?label=YAML&message=good_night&color=lightgrey&logo=github&logoColor=181717)](good_night.yaml) | Whole-house shutdown and lock-up routine. | | [![YAML source: late_night_brightness_guard](https://img.shields.io/static/v1?label=YAML&message=late_night_brightness_guard&color=lightgrey&logo=github&logoColor=181717)](late_night_brightness_guard.yaml) | Scoped 20:00-06:00 brightness cap for direct user-activated living-room and outdoor front-light groups; nested scene and automation contexts are excluded. | +| [![YAML source: late_night_helper](https://img.shields.io/static/v1?label=YAML&message=late_night_helper&color=lightgrey&logo=github&logoColor=181717)](late_night_helper.yaml) | Nighttime arrival path with the living-room M1 front-right light explicitly limited to 25% brightness. | ### Tips - Use these as patterns if you are migrating UI-created automations out of `automations.yaml`. diff --git a/config/automation/late_night_helper.yaml b/config/automation/late_night_helper.yaml index 9b02f6d6..f5d4580a 100755 --- a/config/automation/late_night_helper.yaml +++ b/config/automation/late_night_helper.yaml @@ -3,9 +3,11 @@ # For more info visit https://www.vcloudinfo.com/click-here # Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig # ------------------------------------------------------------------- -# Late Night lights Section - Home Assistant automation behavior. -# Defines the Late Night lights Section triggers, conditions, and actions. +# Late Night Arrival Lighting - dim arrival helper after dark. +# Turns on a small arrival path without waking the room at full brightness. +# Related Issue: 1901 # ------------------------------------------------------------------- +# Notes: The living-room M1 front-right arrival light is capped at 25 percent. ###################################################################### - alias: 'Late Night Helper' id: acacc9b4-b66d-46d2-bf6d-47b75afddb57 @@ -30,9 +32,13 @@ - light.main_slider - light.foyer - light.fridge - - light.M1_front_right - light.S1 - light.S4 + - service: light.turn_on + target: + entity_id: light.m1_front_right + data: + brightness_pct: 25 - service: light.turn_on entity_id: - light.outdoor_bathroom diff --git a/config/automation/living_room_color_defaults.yaml b/config/automation/living_room_color_defaults.yaml index c1fc6f07..b82b69c6 100644 --- a/config/automation/living_room_color_defaults.yaml +++ b/config/automation/living_room_color_defaults.yaml @@ -4,6 +4,7 @@ # Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig # ------------------------------------------------------------------- # Living Room Color Defaults - cool white by day, amber by evening +# Related Issue: 1901 # Restores after entry/garage secure; manual late-night turns use the guard. # ------------------------------------------------------------------- # Notes: Returns to defaults after entry points close; keeps prior off states. @@ -52,13 +53,13 @@ entity_id: light.living_room_lights data: color_temp_kelvin: 2700 - brightness: 200 + brightness_pct: 25 - service: light.turn_on target: entity_id: light.living_room_accents data: color_temp_kelvin: 2700 - brightness: 170 + brightness_pct: 20 - alias: 'Living Room Red on Entry/Garage Open' id: living_room_red_on_entry_open