mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
26 lines
608 B
YAML
26 lines
608 B
YAML
platform: bayesian
|
|
unique_id: bayesianbinarysensor.computer_area_occupied
|
|
name: Computer Area Occupied
|
|
device_class: occupancy
|
|
prior: 0.25
|
|
probability_threshold: 0.7
|
|
observations:
|
|
|
|
- entity_id: group.computer_area_motion
|
|
prob_given_true: .99
|
|
prob_given_false: 0.5
|
|
platform: state
|
|
to_state: 'on'
|
|
|
|
# - entity_id: binary_sensor.computer_chair_contact_occupied
|
|
# prob_given_true: .99
|
|
# prob_given_false: 0.5
|
|
# platform: state
|
|
# to_state: 'on'
|
|
|
|
- entity_id: input_boolean.home_occupied
|
|
platform: state
|
|
prob_given_true: .7
|
|
prob_given_false: 0.1
|
|
to_state: 'on'
|