quieting down the power meter, eventually going to clean up the database and testing new lighting automation for bedroom

This commit is contained in:
CeeWeasel
2026-03-11 20:13:01 -04:00
parent 105fb7cf86
commit a272421a33
10 changed files with 126 additions and 15 deletions
@@ -23,7 +23,9 @@ trigger:
- platform: state
id: occupied
entity_id: binary_sensor.bedroom_occupied
entity_id:
- binary_sensor.bedroom_occupied
- input_boolean.bedroom_occupied
to: "on"
# - platform: state
@@ -87,6 +89,32 @@ action:
action: homeassistant.turn_on
target:
entity_id: "{{ switch_name }}"
- choose:
- alias: "If the room is set to adaptive, turn all adaptive switches on "
conditions:
- alias: "Room set to adaptive"
condition: state
entity_id: input_select.master_bedroom_mode
state: Adaptive
sequence:
- action: switch.turn_on
target:
entity_id:
- switch.adaptive_lighting_bedroom
- switch.adaptive_lighting_adapt_brightness_bedroom
- switch.adaptive_lighting_adapt_color_bedroom
- action: switch.turn_off
target:
entity_id: switch.adaptive_lighting_sleep_mode_bedroom
default:
- action: switch.turn_off
target:
entity_id:
- switch.adaptive_lighting_bedroom
- switch.adaptive_lighting_adapt_brightness_bedroom
- switch.adaptive_lighting_adapt_color_bedroom
- choose:
- alias: "If the room is set to manual, just turn the lights on"
conditions: