I’m attempting to use the Bayesian binary_sensor integration to do some smarter presence detection. I’m confused about the logic for the prob_given_true
property. Here’s a snippet from the examples:
observations:
- platform: 'state'
entity_id: 'sensor.living_room_motion'
prob_given_true: 0.4
prob_given_false: 0.2
Which of these is a more accurate statement?
- If there’s motion in the living room there’s a 40% chance that I’m there.
- If I’m in the living room, there’s a 40% chance that motion is detected.
Also, what’s the plain English interpretation of prob_given_false
?