Fixed doorbird config without events (empty list) (#19121)

pull/19139/head
Bas Schipper 2018-12-09 10:33:39 +01:00 committed by Fabian Affolter
parent 30064655c2
commit 4b4f51fb6f
1 changed files with 1 additions and 1 deletions

View File

@ -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