mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
25 lines
590 B
YAML
25 lines
590 B
YAML
platform: bayesian
|
|
unique_id: bayesianbinarysensor.dining_room_occupied
|
|
name: Dining Room Occupied
|
|
device_class: occupancy
|
|
prior: 0.25
|
|
probability_threshold: 0.7
|
|
observations:
|
|
|
|
- entity_id: group.dining_room_motion
|
|
prob_given_true: .99
|
|
prob_given_false: .85
|
|
platform: state
|
|
to_state: 'on'
|
|
|
|
- entity_id: binary_sensor.dining_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' |