mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Fix binary_sensor.skybell state update when there are no events (#14927)
This commit is contained in:
committed by
Paulus Schoutsen
parent
c917470836
commit
940577e105
@@ -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