mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
* Better example, fixes #34120 * Update bayesian.markdown
This commit is contained in:
parent
5dfb3ca9f6
commit
46ec044149
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user