Fix binary_sensor.skybell state update when there are no events (#14927)
This commit is contained in:
1 parent
c917470836
commit
940577e105
1 file changed
+1
-1
@@ -94,4 +94,4 @@ class SkybellBinarySensor(SkybellDevice, BinarySensorDevice):
|
||||
|
||||
self._state = bool(event and event.get('id') != self._event.get('id'))
|
||||
|
||||
self._event = event
|
||||
self._event = event or {}
|
||||
Reference in new issue
Block a user