Adding button for master bed occupied

This commit is contained in:
CeeWeasel
2024-11-08 12:53:08 -05:00
parent ce5f698934
commit 4ee29d9a17
19 changed files with 35 additions and 37 deletions
@@ -6,7 +6,7 @@ prior: 0.25
probability_threshold: 0.75
observations:
- entity_id: binary_sensor.master_bed_occupied
- entity_id: binary_sensor.master_bed_right_occupied
platform: state
prob_given_true: .83
prob_given_false: 0.0
+1 -1
View File
@@ -129,7 +129,7 @@ sensors:
unique_id: templatebinarysensor.master_bed_right_occupied
friendly_name: Master Bedroom Right Occupied
icon_template: mdi:bed-king
value_template: "{{ is_state('binary_sensor.master_bed_occupied','on') }}"
value_template: "{{ is_state('binary_sensor.master_bed_occupied','on') or is_state('input_boolean.master_bed_occupied','on') }}"
bathroom_getting_humid:
unique_id: templatebinarysensor.bathroom_getting_humid