Hopefully fixing master bed presence and cleaning up a lot of junk

This commit is contained in:
CeeWeasel
2025-07-24 16:39:36 -04:00
parent ca1082899b
commit c80842714f
48 changed files with 1740 additions and 2042 deletions
@@ -4,7 +4,7 @@ id: automation_master_bedroom_status
trigger:
- id: master_bed_not_occupied
platform: state
entity_id: input_boolean.master_bed_occupied
entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_either
to: 'off'
for: '00:10:00'
@@ -13,15 +13,9 @@ trigger:
entity_id: sensor.pixel_7_charger_type
to: "wireless"
- id: master_bed_person_occupancy
platform: state
entity_id: binary_sensor.master_bedroom_person_occupancy
to: 'on'
for: '00:00:30'
- id: master_bed_right_occupied
platform: state
entity_id: input_boolean.master_bed_occupied
entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_right
to: 'on'
for: '00:00:05'
@@ -54,7 +48,7 @@ condition:
- alias: "No one on master bed"
condition: state
entity_id: input_boolean.master_bed_occupied
entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_either
state: 'off'
- alias: "Is the room asleep?"
@@ -82,7 +76,7 @@ condition:
- alias: "Someone on master bed"
condition: state
entity_id: input_boolean.master_bed_occupied
entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_either
state: 'on'
action:
@@ -110,7 +104,7 @@ action:
- alias: "No one on master bed"
condition: state
entity_id: input_boolean.master_bed_occupied
entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_either
state: 'off'
sequence:
- service: input_boolean.turn_off
@@ -139,7 +133,7 @@ action:
- alias: "Someone on master bed"
condition: state
entity_id: input_boolean.master_bed_occupied
entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_either
state: 'on'
sequence:
- choose: