mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
d60b56b37a
- Updated garage-card.yaml to use vertical-stack and advanced-camera-card structure. - Refactored indoor-camera-cycler.yaml to include multiple cameras in advanced-camera-card format. - Modified kitchen-card.yaml to align with new advanced-camera-card structure. - Consolidated master-bedroom-card.yaml to include both left and right cameras in a single advanced-camera-card. - Removed deprecated master-bedroom-left-card.yaml and master-bedroom-right-card.yaml files. - Updated nursery-card.yaml to follow the new advanced-camera-card format. - Refactored outdoor-camera-cycler.yaml to utilize advanced-camera-card for multiple outdoor cameras. - Cleaned up view-ha-floorplan.yaml by removing commented-out code. - Updated view-overview.yaml to remove unused plant entities. - Corrected media source paths in wake_up_the_master_bedroom.yaml and take_meds.yaml scripts. - Added new ESPHome configurations for bed presence sensors. - Updated full-sized floorplan SVG with new IDs for bed presence sensors.
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
platform: bayesian
|
|
unique_id: bayesianbinarysensor.master_bathroom_occupied
|
|
name: Master Bathroom Occupied
|
|
device_class: occupancy
|
|
prior: 0.2
|
|
probability_threshold: 0.75
|
|
observations:
|
|
|
|
- entity_id: group.master_bathroom_motion
|
|
prob_given_true: .99
|
|
prob_given_false: 0.05
|
|
platform: state
|
|
to_state: 'on'
|
|
|
|
# - entity_id: binary_sensor.bathroom_getting_humid
|
|
# prob_given_true: .75
|
|
# prob_given_false: 0.01
|
|
# platform: state
|
|
# to_state: 'on'
|
|
|
|
- entity_id: binary_sensor.master_bathroom_too_humid
|
|
prob_given_true: .99
|
|
prob_given_false: 0.05
|
|
platform: state
|
|
to_state: 'on'
|
|
|
|
- entity_id: input_boolean.home_occupied
|
|
platform: state
|
|
prob_given_true: .99
|
|
prob_given_false: 0.01
|
|
to_state: 'on'
|
|
|
|
# - platform: template
|
|
# value_template: >
|
|
# {{ states('sensor.master_bathroom_thermostat_humidity') | float(default=0) - states('sensor.master_bedroom_multisensor_humidity') | float(default=0) > 30 }}
|
|
# prob_given_true: 0.99
|
|
# prob_given_false: 0.01
|
|
|
|
# - entity_id: input_boolean.home_occupied
|
|
# platform: state
|
|
# prob_given_true: .01
|
|
# prob_given_false: 0.5
|
|
# to_state: 'off' |