blue_room to boys_room

This commit is contained in:
CeeWeasel
2025-10-10 20:24:52 -04:00
parent 10e297961b
commit 5b688e7c78
382 changed files with 8674 additions and 8739 deletions
@@ -0,0 +1,67 @@
alias: Boys Room Lights to Off
id: automation_boys_room_lights_to_off
mode: restart
trigger:
- platform: state
entity_id: input_select.boys_room_mode
- platform: state
entity_id: input_boolean.boys_room_occupied
to: "off"
#- platform: time_pattern
# minutes: "/5"
condition:
- condition: state
entity_id: light.boys_room_hue
state: "on"
- condition: state
entity_id: input_boolean.lights_off_manually
state: "off"
- condition: or
conditions:
- condition: state
entity_id: input_select.boys_room_mode
state: "Off"
- condition: state
entity_id: input_boolean.boys_room_occupied
state: "off"
action:
- choose:
- conditions:
- condition: state
entity_id: input_boolean.lighting_automations
state: "on"
- condition: or
conditions:
- condition: state
entity_id: input_select.boys_room_mode
state: "Off"
- condition: state
entity_id: input_boolean.boys_room_occupied
state: "off"
- condition: not
conditions:
- condition: state
entity_id: input_select.boys_room_mode
state: "Manual"
sequence:
- action: scene.turn_on
data:
transition: 5
target:
entity_id: scene.boys_room_hue_off
- choose:
- conditions:
- condition: state
entity_id: input_boolean.guest_mode
state: "on"
sequence:
- alias: "Turn off z-wave switch since all lights are off"
action: homeassistant.turn_off
target:
entity_id: switch.boys_room_motion_switch