mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
32 lines
722 B
YAML
32 lines
722 B
YAML
platform: bayesian
|
|
unique_id: bayesianbinarysensor.boys_room_occupied
|
|
name: Boys Room Occupied
|
|
device_class: occupancy
|
|
prior: 0.25
|
|
probability_threshold: 0.7
|
|
observations:
|
|
|
|
- entity_id: group.boys_room_motion
|
|
prob_given_true: .99
|
|
prob_given_false: .85
|
|
platform: state
|
|
to_state: 'on'
|
|
|
|
- entity_id: binary_sensor.boys_room_person_occupancy
|
|
prob_given_true: .99
|
|
prob_given_false: .85
|
|
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: state
|
|
entity_id: binary_sensor.white_bed_occupied
|
|
to_state: "on"
|
|
prob_given_true: .67
|
|
prob_given_false: 0.0
|