diff --git a/source/_integrations/bayesian.markdown b/source/_integrations/bayesian.markdown index aada7ca7ff2..f72a13ba1d8 100644 --- a/source/_integrations/bayesian.markdown +++ b/source/_integrations/bayesian.markdown @@ -73,6 +73,10 @@ name: required: false type: string default: Bayesian Binary Sensor +unique_id: + description: An ID that uniquely identifies this bayesian entity. If two entities have the same unique ID, Home Assistant will raise an exception. + required: false + type: string device_class: description: Sets the [class of the device](/integrations/binary_sensor/), changing the device state and icon that is displayed on the frontend. required: false @@ -119,8 +123,9 @@ The following is an example for the `state` observation platform. ```yaml # Example configuration.yaml entry binary_sensor: - name: "in_bed" platform: "bayesian" + name: "in_bed" + unique_id: "172b6ef1-e37e-4f04-8d64-891e84c02b43" # generated on https://www.uuidgenerator.net/ prior: 0.25 # I spend 6 hours a day in bed 6hr/24hr is 0.25 probability_threshold: 0.8 # I am going to be using this sensor to turn out the lights so I only want to to activate when I am sure observations: