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
@@ -1,17 +1,17 @@
alias: 'Marshall Away'
alias: "Marshall Away"
id: automation_marshall_away
mode: restart
trigger:
- platform: state
entity_id: device_tracker.nmap_tracker_fe_cf_82_b2_22_e0
to: 'not_home'
to: "not_home"
condition:
- condition: state
entity_id: input_boolean.marshall_home
state: 'on'
state: "on"
action:
- service: input_boolean.turn_off
entity_id: input_boolean.marshall_home
- action: input_boolean.turn_off
entity_id: input_boolean.marshall_home
@@ -1,4 +1,4 @@
alias: 'Marshall Home'
alias: "Marshall Home"
id: automation_marshall_home
mode: restart
@@ -10,25 +10,25 @@ trigger:
entity_id:
- group.person_marshall
- device_tracker.nmap_tracker_fe_cf_82_b2_22_e0
to: 'home'
to: "home"
- platform: event
event_type: automation_reloaded
condition:
- alias: 'They were previously considered away'
- alias: "They were previously considered away"
condition: state
entity_id: input_boolean.marshall_home
state: 'off'
state: "off"
- alias: 'At least one tracker is home'
- alias: "At least one tracker is home"
condition: numeric_state
entity_id: group.person_marshall
above: 0
value_template: "{{ dict((states|selectattr('entity_id', 'in', state_attr('group.person_marshall', 'entity_id'))|list)|groupby('state'))['home']|count }}"
action:
- service: input_boolean.turn_off
- action: input_boolean.turn_off
entity_id: input_boolean.marshall_travelling
- service: input_boolean.turn_on
entity_id: input_boolean.marshall_home
- action: input_boolean.turn_on
entity_id: input_boolean.marshall_home
@@ -1,4 +1,4 @@
alias: 'Marshall Location Update'
alias: "Marshall Location Update"
id: automation_marshall_location_update
mode: restart
@@ -10,11 +10,10 @@ trigger:
- input_boolean.marshall_home
condition:
- condition: template
value_template: '{{ trigger.from_state.state != trigger.to_state.state }}'
value_template: "{{ trigger.from_state.state != trigger.to_state.state }}"
- condition: state
entity_id: script.marshall_travel_sensor
state: 'off'
state: "off"
action:
- service: script.turn_on
- action: script.turn_on
entity_id: script.marshall_travel_sensor
@@ -8,39 +8,39 @@ trigger:
condition:
- condition: state
entity_id: input_boolean.marshall_home
state: 'on'
state: "on"
action:
- choose:
- conditions:
- condition: time
after: '22:00:00'
before: '23:00:00'
sequence:
- service: input_boolean.turn_on
entity_id:
- input_boolean.marshall_in_bed
- conditions:
- condition: time
after: "22:00:00"
before: "23:00:00"
sequence:
- action: input_boolean.turn_on
entity_id:
- input_boolean.marshall_in_bed
- service: input_boolean.turn_on
entity_id:
- input_boolean.marshall_is_awake
- conditions:
- condition: time
after: '23:00:00'
before: '06:00:00'
sequence:
- service: input_boolean.turn_on
entity_id:
- input_boolean.marshall_in_bed
- action: input_boolean.turn_on
entity_id:
- input_boolean.marshall_is_awake
- conditions:
- condition: time
after: "23:00:00"
before: "06:00:00"
sequence:
- action: input_boolean.turn_on
entity_id:
- input_boolean.marshall_in_bed
- service: input_boolean.turn_off
entity_id:
- input_boolean.marshall_is_awake
- action: input_boolean.turn_off
entity_id:
- input_boolean.marshall_is_awake
default:
- service: input_boolean.turn_off
- action: input_boolean.turn_off
entity_id:
- input_boolean.marshall_in_bed
- service: input_boolean.turn_on
- action: input_boolean.turn_on
entity_id:
- input_boolean.marshall_is_awake
- input_boolean.marshall_is_awake