This commit is contained in:
parent
a3777c4ea8
commit
97076aa3fd
2 changed files with 32 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue