I only use Bayesian sensor for my sensor of me being home or not, as i use rather complex nodered flow for turning the heating on based on whether my daughters room is cold and the door is close, or if my wife is home (as she like it warmer than me in the house)
- platform: bayesian
prior: 0.5
probability_threshold: 0.9
name: 'J Home'
observations:
- entity_id: 'device_tracker.j_wifi'
prob_given_true: 0.50
prob_given_false: 0.09
platform: 'state'
to_state: 'home'
- entity_id: 'device_tracker.j_app'
prob_given_true: 0.50
prob_given_false: 0.09
platform: 'state'
to_state: 'home'
- entity_id: 'sensor.j_ble'
prob_given_true: 0.99
prob_given_false: 0.05
platform: 'numeric_state'
above: 85