From 4b4f51fb6f65c6ad7602266ba29deb43b06f6622 Mon Sep 17 00:00:00 2001 From: Bas Schipper Date: Sun, 9 Dec 2018 10:33:39 +0100 Subject: [PATCH] Fixed doorbird config without events (empty list) (#19121) --- homeassistant/components/doorbird.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/doorbird.py b/homeassistant/components/doorbird.py index 578855011cc..42d14205e75 100644 --- a/homeassistant/components/doorbird.py +++ b/homeassistant/components/doorbird.py @@ -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