# platform: bayesian # unique_id: bayesianbinarysensor.entryway_occupied # name: Entryway Occupied # device_class: occupancy # prior: 0.02 # probability_threshold: 0.65 # observations: # - entity_id: binary_sensor.entryway_motion # prob_given_true: 0.9 # prob_given_false: 0.01 # platform: state # to_state: 'on' # - entity_id: input_boolean.home_occupied # platform: state # prob_given_true: .98 # prob_given_false: 0.85 # to_state: 'on' # - entity_id: binary_sensor.entryway_person_occupancy # prob_given_true: .02 # prob_given_false: 0.0 # platform: state # to_state: 'on' # - entity_id: binary_sensor.inner_garage_door_contact # prob_given_true: 0.02 # prob_given_false: 0.0 # platform: state # to_state: 'on' # - entity_id: binary_sensor.front_door_contact # prob_given_true: 0.02 # prob_given_false: 0.0 # platform: state # to_state: 'on'