Fixed doorbird config without events (empty list) (#19121)
parent
30064655c2
commit
4b4f51fb6f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue