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:
@@ -42,7 +42,7 @@ card:
|
||||
lazy_load: false
|
||||
dimensions:
|
||||
aspect_ratio_mode: static
|
||||
aspect_ratio: '16:9'
|
||||
aspect_ratio: "16:9"
|
||||
elements:
|
||||
- type: image
|
||||
image: /local/title-dark-double.png
|
||||
@@ -79,7 +79,7 @@ card:
|
||||
left: 40%
|
||||
top: 95%
|
||||
- type: state-icon
|
||||
entity: binary_sensor.white_bed_occupied
|
||||
entity: input_boolean.white_bed_occupied
|
||||
style:
|
||||
left: 60%
|
||||
top: 95%
|
||||
@@ -129,11 +129,11 @@ card:
|
||||
left: 85%
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.white_bed_occupied
|
||||
- entity: input_boolean.white_bed_occupied
|
||||
state: "on"
|
||||
elements:
|
||||
- type: state-icon
|
||||
entity: binary_sensor.white_bed_occupied
|
||||
entity: input_boolean.white_bed_occupied
|
||||
style:
|
||||
top: 65%
|
||||
left: 80%
|
||||
|
||||
Reference in New Issue
Block a user