# platform: bayesian # unique_id: bayesianbinarysensor.mancave_occupied # name: Mancave Occupied # device_class: occupancy # prior: 0.5 # probability_threshold: 0.75 # observations: # - entity_id: binary_sensor.mancave_motion # prob_given_true: .9 # prob_given_false: 0.01 # platform: state # to_state: 'on' # - entity_id: input_boolean.home_occupied # platform: state # prob_given_true: .01 # prob_given_false: 0.01 # to_state: 'off'