[Bayesian] Better example, fixes #34120 (#34134)

* Better example, fixes #34120

* Update bayesian.markdown
This commit is contained in:
HarvsG 2024-08-06 06:50:50 +01:00 committed by GitHub
parent 5dfb3ca9f6
commit 46ec044149
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,7 +48,9 @@ To enable the Bayesian sensor, add the following lines to your {% term "`configu
# Example configuration.yaml entry
binary_sensor:
- platform: bayesian
prior: 0.1
name: "Kitchen Occupied"
prior: 0.3
probability_threshold: 0.5
observations:
- entity_id: "switch.kitchen_lights"
prob_given_true: 0.6