mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Fixed doorbird config without events (empty list) (#19121)
This commit is contained in:
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…
x
Reference in New Issue
Block a user