Fixed doorbird config without events (empty list) (#19121)
This commit is contained in:
1 parent
30064655c2
commit
4b4f51fb6f
1 file changed
+1
-1
@@ -104,7 +104,7 @@ def setup(hass, config):
|
||||
return False
|
||||
|
||||
# Subscribe to doorbell or motion events
|
||||
if events is not None:
|
||||
if events:
|
||||
doorstation.update_schedule(hass)
|
||||
|
||||
hass.data[DOMAIN] = doorstations
|
||||
|
||||
Reference in new issue
Block a user