Update axis.py (#10412)

This commit is contained in:
Kane610 authored and Paulus Schoutsen committed 2017-11-11 12:30:18 -08:00
1 parent 4420f11d9d
commit 68fb995c63
1 file changed
+2 -1
+2 -1
View File
@@ -269,7 +269,8 @@ def setup_device(hass, config, device_config):
config)
AXIS_DEVICES[device.serial_number] = device
hass.add_job(device.start)
if event_types:
hass.add_job(device.start)
return True