mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
31 lines
759 B
YAML
31 lines
759 B
YAML
platform: bayesian
|
|
unique_id: bayesianbinarysensor.utility_room_occupied
|
|
name: Utility Room Occupied
|
|
device_class: occupancy
|
|
prior: 0.2
|
|
probability_threshold: 0.75
|
|
observations:
|
|
|
|
- entity_id: group.utility_room_motion
|
|
prob_given_true: .99
|
|
prob_given_false: 0.05
|
|
platform: state
|
|
to_state: 'on'
|
|
|
|
# - entity_id: binary_sensor.utility_room_getting_humid
|
|
# prob_given_true: .75
|
|
# prob_given_false: 0.01
|
|
# platform: state
|
|
# to_state: 'on'
|
|
|
|
- entity_id: binary_sensor.utility_room_multisensor_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' |