# platform: bayesian # unique_id: bayesianbinarysensor.boys_room_occupied # name: Boys Room Occupied # prior: 0.25 # probability_threshold: 0.75 # observations: # - entity_id: binary_sensor.white_bed_occupied # platform: state # prob_given_true: .83 # prob_given_false: 0.0 # to_state: 'on' # - entity_id: binary_sensor.boys_room_person_occupancy # prob_given_true: .4 # prob_given_false: 0.0 # platform: state # to_state: 'on' # - entity_id: input_boolean.home_occupied # platform: state # prob_given_true: .99 # prob_given_false: 0.67 # to_state: 'on' # - entity_id: binary_sensor.boys_room_motion # platform: state # prob_given_true: .5 # prob_given_false: 0.0 # to_state: 'on'