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:
@@ -111,26 +111,14 @@ cards:
|
||||
secondary_info: none
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-template-card
|
||||
entity: binary_sensor.master_bed_right_occupied
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: input_boolean.master_bed_occupied
|
||||
name: Bed
|
||||
icon: mdi:bed-king
|
||||
icon_color: >-
|
||||
{{
|
||||
iif(is_state('binary_sensor.master_bed_right_occupied','on'),'yellow')}}
|
||||
primary: Bed
|
||||
double_tap_action:
|
||||
action: call-service
|
||||
service: homeassistant.toggle
|
||||
service_data: {}
|
||||
target:
|
||||
entity_id: switch.master_bed_force_occupancy
|
||||
hold_action:
|
||||
action: call-service
|
||||
service: button.press
|
||||
service_data: {}
|
||||
target:
|
||||
entity_id: button.master_bed_manual_tare
|
||||
layout: vertical
|
||||
secondary_info: none
|
||||
tap_action:
|
||||
action: toggle
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: binary_sensor.master_bedroom_window_contact
|
||||
name: Window
|
||||
|
||||
Reference in New Issue
Block a user