platform: bayesian unique_id: bayesianbinarysensor.storage_room_occupied name: Storage Room Occupied device_class: occupancy prior: 0.5 probability_threshold: 0.75 observations: - entity_id: binary_sensor.storage_room_door_contact prob_given_true: .4 prob_given_false: 0.01 platform: state to_state: 'on'