Files
fresh-home/components/binary_sensors/rooms/nursery_occupied.yaml
T
2025-10-05 12:00:44 -04:00

31 lines
713 B
YAML

platform: bayesian
unique_id: bayesianbinarysensor.nursery_occupied
name: Nursery Occupied
device_class: occupancy
prior: 0.25
probability_threshold: 0.90
observations:
- platform: state
entity_id: group.nursery_motion
to_state: "on"
prob_given_true: .33
prob_given_false: 0.0
- entity_id: binary_sensor.nursery_person_occupancy
prob_given_true: .33
prob_given_false: 0.0
platform: state
to_state: "on"
- platform: state
entity_id: binary_sensor.black_bed_occupied
to_state: "on"
prob_given_true: .67
prob_given_false: 0.0
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .92
prob_given_false: 0.5
to_state: "on"