mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
4e0e55ac3c
- Updated nursery automation to use input booleans for bed occupancy instead of binary sensors. - Changed conditions in nursery automation to improve readability and consistency. - Modified binary sensor configurations for master bedroom and nursery to use input booleans. - Removed unused input number configurations related to master bed load cells. - Updated UI configurations to reflect changes in entity types from binary sensors to input booleans. - Cleaned up camera view configurations and adjusted styles for better layout. - Removed deprecated master bed YAML configuration and archived it for future reference. - Enhanced ESPHome configurations for white and black beds, including improved logging and diagnostics.
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
alias: Master Bedroom Awake
|
|
id: automation_master_bedroom_awake
|
|
|
|
trigger:
|
|
- platform: state
|
|
entity_id: input_boolean.master_bed_occupied
|
|
to: 'off'
|
|
for: '00:10:00'
|
|
|
|
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: "Before 10:00PM and after 4:00AM"
|
|
condition: time
|
|
before: '21:00:00'
|
|
after: '04:00:00'
|
|
|
|
- alias: "No one on master bed"
|
|
condition: state
|
|
entity_id: input_boolean.master_bed_occupied
|
|
state: 'off'
|
|
|
|
- alias: "The boolean is currently on"
|
|
condition: state
|
|
entity_id: input_boolean.master_bedroom_asleep
|
|
state: 'on'
|
|
|
|
action:
|
|
- service: input_boolean.turn_off
|
|
entity_id: input_boolean.master_bedroom_asleep
|
|
|
|
- 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
|