From 091400197bfaf8f7e33899c5f673e2b321c88086 Mon Sep 17 00:00:00 2001 From: HarvsG <11440490+HarvsG@users.noreply.github.com> Date: Sun, 9 Oct 2022 13:06:36 +0100 Subject: [PATCH] Supports device class (#24458) --- source/_integrations/bayesian.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/_integrations/bayesian.markdown b/source/_integrations/bayesian.markdown index d2adc35eadc..aada7ca7ff2 100644 --- a/source/_integrations/bayesian.markdown +++ b/source/_integrations/bayesian.markdown @@ -73,6 +73,10 @@ name: required: false type: string default: Bayesian Binary Sensor +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 + type: string observations: description: The observations which should influence the probability that the given event is occurring. required: true @@ -174,6 +178,7 @@ Finally, here's an example for `template` observation platform, as seen in the c binary_sensor: name: "Paulus Home" platform: "bayesian" + device_class: "presence" prior: 0.5 probability_threshold: 0.9 observations: