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
@@ -5,8 +5,8 @@ trigger:
- id: master_bed_not_occupied
platform: state
entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_either
to: 'off'
for: '00:10:00'
to: "off"
for: "00:10:00"
- id: phone_charging
platform: state
@@ -16,8 +16,8 @@ trigger:
- id: master_bed_right_occupied
platform: state
entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_right
to: 'on'
for: '00:00:05'
to: "on"
for: "00:00:05"
condition:
- alias: Okay to turn off or on
@@ -29,27 +29,27 @@ condition:
- alias: "The room is currently asleep"
condition: state
entity_id: input_boolean.master_bedroom_asleep
state: 'on'
state: "on"
- alias: "An adult is home"
condition: or
conditions:
- condition: state
entity_id: input_boolean.clint_home
state: 'on'
- condition: state
entity_id: input_boolean.kristy_home
state: 'on'
- condition: state
entity_id: input_boolean.clint_home
state: "on"
- condition: state
entity_id: input_boolean.kristy_home
state: "on"
- alias: "It is before 10:00PM and after 4:00AM"
condition: time
before: '22:00:00'
after: '04:00:00'
before: "22:00:00"
after: "04:00:00"
- alias: "No one on master bed"
condition: state
entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_either
state: 'off'
state: "off"
- alias: "Is the room asleep?"
condition: and
@@ -57,27 +57,27 @@ condition:
- alias: "The room is currently awake"
condition: state
entity_id: input_boolean.master_bedroom_asleep
state: 'off'
state: "off"
- alias: "Adult Home"
condition: or
conditions:
- condition: state
entity_id: input_boolean.clint_home
state: 'on'
- condition: state
entity_id: input_boolean.kristy_home
state: 'on'
- condition: state
entity_id: input_boolean.clint_home
state: "on"
- condition: state
entity_id: input_boolean.kristy_home
state: "on"
- alias: "After 10:00PM and before 4:00AM"
condition: time
after: '21:00:00'
before: '04:00:00'
after: "21:00:00"
before: "04:00:00"
- alias: "Someone on master bed"
condition: state
entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_either
state: 'on'
state: "on"
action:
- choose:
@@ -85,71 +85,71 @@ action:
- alias: "The room is currently asleep"
condition: state
entity_id: input_boolean.master_bedroom_asleep
state: 'on'
state: "on"
- alias: "An adult is home"
condition: or
conditions:
- condition: state
entity_id: input_boolean.clint_home
state: 'on'
- condition: state
entity_id: input_boolean.kristy_home
state: 'on'
- condition: state
entity_id: input_boolean.clint_home
state: "on"
- condition: state
entity_id: input_boolean.kristy_home
state: "on"
- alias: "It is before 10:00PM and after 4:00AM"
condition: time
before: '21:00:00'
after: '04:00:00'
before: "21:00:00"
after: "04:00:00"
- alias: "No one on master bed"
condition: state
entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_either
state: 'off'
state: "off"
sequence:
- service: input_boolean.turn_off
- action: input_boolean.turn_off
entity_id: input_boolean.master_bedroom_asleep
- conditions:
- alias: "The room is currently awake"
condition: state
entity_id: input_boolean.master_bedroom_asleep
state: 'off'
state: "off"
- alias: "Adult Home"
condition: or
conditions:
- condition: state
entity_id: input_boolean.clint_home
state: 'on'
- condition: state
entity_id: input_boolean.kristy_home
state: 'on'
- condition: state
entity_id: input_boolean.clint_home
state: "on"
- condition: state
entity_id: input_boolean.kristy_home
state: "on"
- alias: "After 10:00PM and before 4:00AM"
condition: time
after: '21:00:00'
before: '04:00:00'
after: "21:00:00"
before: "04:00:00"
- alias: "Someone on master bed"
condition: state
entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_either
state: 'on'
state: "on"
sequence:
- choose:
- conditions:
- condition: not
conditions:
- condition: state
entity_id: input_select.master_bedroom_mode
state: 'Manual'
sequence:
- service: input_select.select_option
data:
option: Auto
target:
entity_id: input_select.master_bedroom_mode
- conditions:
- condition: not
conditions:
- condition: state
entity_id: input_select.master_bedroom_mode
state: "Manual"
sequence:
- action: input_select.select_option
data:
option: Auto
target:
entity_id: input_select.master_bedroom_mode
# From Master Bedroom Asleep
- service: input_boolean.turn_on
entity_id: input_boolean.master_bedroom_asleep
# From Master Bedroom Asleep
- action: input_boolean.turn_on
entity_id: input_boolean.master_bedroom_asleep