mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 22:06:50 +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
|
# Example configuration.yaml entry
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: bayesian
|
- platform: bayesian
|
||||||
prior: 0.1
|
name: "Kitchen Occupied"
|
||||||
|
prior: 0.3
|
||||||
|
probability_threshold: 0.5
|
||||||
observations:
|
observations:
|
||||||
- entity_id: "switch.kitchen_lights"
|
- entity_id: "switch.kitchen_lights"
|
||||||
prob_given_true: 0.6
|
prob_given_true: 0.6
|
||||||
|
Loading…
x
Reference in New Issue
Block a user