From 46ec04414987d8630460e8f38dbc52a6eb3a878d Mon Sep 17 00:00:00 2001 From: HarvsG <11440490+HarvsG@users.noreply.github.com> Date: Tue, 6 Aug 2024 06:50:50 +0100 Subject: [PATCH] [Bayesian] Better example, fixes #34120 (#34134) * Better example, fixes #34120 * Update bayesian.markdown --- source/_integrations/bayesian.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/_integrations/bayesian.markdown b/source/_integrations/bayesian.markdown index 66efb3fb525..2bcab49f859 100644 --- a/source/_integrations/bayesian.markdown +++ b/source/_integrations/bayesian.markdown @@ -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