mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
Refactor bed occupancy sensors and related automations
- 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.
This commit is contained in:
@@ -4,7 +4,7 @@ id: automation_master_bedroom_status
|
||||
trigger:
|
||||
- id: master_bed_not_occupied
|
||||
platform: state
|
||||
entity_id: binary_sensor.master_bed_right_occupied
|
||||
entity_id: input_boolean.master_bed_occupied
|
||||
to: 'off'
|
||||
for: '00:10:00'
|
||||
|
||||
@@ -21,7 +21,7 @@ trigger:
|
||||
|
||||
- id: master_bed_right_occupied
|
||||
platform: state
|
||||
entity_id: binary_sensor.master_bed_right_occupied
|
||||
entity_id: input_boolean.master_bed_occupied
|
||||
to: 'on'
|
||||
for: '00:00:05'
|
||||
|
||||
@@ -54,7 +54,7 @@ condition:
|
||||
|
||||
- alias: "No one on master bed"
|
||||
condition: state
|
||||
entity_id: binary_sensor.master_bed_right_occupied
|
||||
entity_id: input_boolean.master_bed_occupied
|
||||
state: 'off'
|
||||
|
||||
- alias: "Is the room asleep?"
|
||||
@@ -82,7 +82,7 @@ condition:
|
||||
|
||||
- alias: "Someone on master bed"
|
||||
condition: state
|
||||
entity_id: binary_sensor.master_bed_right_occupied
|
||||
entity_id: input_boolean.master_bed_occupied
|
||||
state: 'on'
|
||||
|
||||
action:
|
||||
@@ -110,7 +110,7 @@ action:
|
||||
|
||||
- alias: "No one on master bed"
|
||||
condition: state
|
||||
entity_id: binary_sensor.master_bed_right_occupied
|
||||
entity_id: input_boolean.master_bed_occupied
|
||||
state: 'off'
|
||||
sequence:
|
||||
- service: input_boolean.turn_off
|
||||
@@ -139,7 +139,7 @@ action:
|
||||
|
||||
- alias: "Someone on master bed"
|
||||
condition: state
|
||||
entity_id: binary_sensor.master_bed_right_occupied
|
||||
entity_id: input_boolean.master_bed_occupied
|
||||
state: 'on'
|
||||
sequence:
|
||||
- choose:
|
||||
|
||||
Reference in New Issue
Block a user