This commit is contained in:
1 parent
a3777c4ea8
commit
97076aa3fd
2 files changed
+32
-1
No files matched your search
@@ -217,4 +217,4 @@ class BayesianBinarySensor(BinarySensorDevice):
|
||||
@asyncio.coroutine
|
||||
def async_update(self):
|
||||
"""Get the latest data and update the states."""
|
||||
self._deviation = bool(self.probability > self._probability_threshold)
|
||||
self._deviation = bool(self.probability >= self._probability_threshold)
|
||||
Reference in new issue
Block a user