mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
68 lines
1.6 KiB
YAML
68 lines
1.6 KiB
YAML
# platform: bayesian
|
|
# unique_id: bayesianbinarysensor.garage_occupied
|
|
# name: Garage Occupied
|
|
# device_class: occupancy
|
|
# prior: 0.4
|
|
# probability_threshold: 0.6
|
|
# observations:
|
|
|
|
# - entity_id: binary_sensor.garage_motion
|
|
# prob_given_true: .8
|
|
# prob_given_false: 0.01
|
|
# platform: state
|
|
# to_state: 'on'
|
|
|
|
# - entity_id: binary_sensor.garage_motion
|
|
# prob_given_true: .5
|
|
# prob_given_false: 0.5
|
|
# platform: state
|
|
# to_state: 'off'
|
|
|
|
# - entity_id: cover.garage_door
|
|
# prob_given_true: .60
|
|
# prob_given_false: 0.5
|
|
# platform: state
|
|
# to_state: 'open'
|
|
|
|
# - entity_id: cover.garage_door
|
|
# prob_given_true: .50
|
|
# prob_given_false: 0.5
|
|
# platform: state
|
|
# to_state: 'closed'
|
|
|
|
# - entity_id: binary_sensor.inner_garage_door_contact
|
|
# prob_given_true: .75
|
|
# prob_given_false: 0.01
|
|
# platform: state
|
|
# to_state: 'on'
|
|
|
|
# - entity_id: binary_sensor.inner_garage_door_contact
|
|
# prob_given_true: .5
|
|
# prob_given_false: 0.5
|
|
# platform: state
|
|
# to_state: 'off'
|
|
|
|
# - entity_id: binary_sensor.outer_garage_door_contact
|
|
# prob_given_true: .75
|
|
# prob_given_false: 0.5
|
|
# platform: state
|
|
# to_state: 'on'
|
|
|
|
# - entity_id: binary_sensor.outer_garage_door_contact
|
|
# prob_given_true: 0.5
|
|
# prob_given_false: 0.5
|
|
# platform: state
|
|
# to_state: 'off'
|
|
|
|
# - entity_id: binary_sensor.workshop_person_occupancy
|
|
# prob_given_true: .99
|
|
# prob_given_false: 0.5
|
|
# platform: state
|
|
# to_state: 'on'
|
|
|
|
# - entity_id: binary_sensor.workshop_person_occupancy
|
|
# prob_given_true: 0.5
|
|
# prob_given_false: 0.5
|
|
# platform: state
|
|
# to_state: 'off'
|