Files
fresh-home/components/binary_sensors/rooms/girls_room_occupied.yaml
T
2025-12-03 23:21:30 -05:00

31 lines
729 B
YAML

platform: bayesian
unique_id: 608783dd-0d18-4e9b-a7f9-3f35eee41fc4
name: Girls Room Occupied
device_class: occupancy
prior: 0.25
probability_threshold: 0.90
observations:
- platform: state
entity_id: binary_sensor.girls_room_motion
to_state: "on"
prob_given_true: .33
prob_given_false: 0.0
- entity_id: binary_sensor.girls_room_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"