mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
31 lines
724 B
YAML
31 lines
724 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: binary_sensor.girls_room_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"
|