initial push

This commit is contained in:
CeeWeasel
2024-04-14 14:08:56 -04:00
commit 53bf393d14
1111 changed files with 71730 additions and 0 deletions
@@ -0,0 +1,55 @@
alias: Master Bedroom Asleep
id: automation_master_bedroom_asleep
initial_state: 'off'
trigger:
- platform: state
entity_id: sensor.pixel_7_charger_type
to: "wireless"
- platform: state
entity_id: binary_sensor.master_bedroom_person_occupancy
to: 'on'
for: '00:00:30'
- platform: state
entity_id: binary_sensor.master_bed_occupied
to: 'on'
for: '00:00:05'
condition:
- 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'
- alias: "After 10:00PM and before 4:00AM"
condition: time
after: '21:00:00'
before: '04:00:00'
- alias: "Clint's phone charging or someone on master bed"
condition: or
conditions:
- condition: state
entity_id: sensor.pixel_7_charger_type
state: 'wireless'
- condition: state
entity_id: binary_sensor.master_bed_occupied
state: 'on'
- alias: "The room is currently awake"
condition: state
entity_id: input_boolean.master_bedroom_asleep
state: 'off'
action:
- service: input_boolean.turn_on
entity_id: input_boolean.master_bedroom_asleep