# platform: bayesian # unique_id: bayesianbinarysensor.back_yard_occupied # name: Back Yard Occupied # device_class: occupancy # prior: 0.25 # probability_threshold: 0.75 # observations: # - entity_id: input_boolean.home_occupied # platform: state # prob_given_true: .01 # prob_given_false: 0.01 # to_state: 'off' # - entity_id: binary_sensor.back_yard_motion # prob_given_true: .9 # prob_given_false: 0.01 # platform: state # to_state: 'on'