forked from home-assistant/core
Update axis.py (#10412)
This commit is contained in:
committed by
Paulus Schoutsen
parent
4420f11d9d
commit
68fb995c63
@@ -269,6 +269,7 @@ def setup_device(hass, config, device_config):
|
|||||||
config)
|
config)
|
||||||
|
|
||||||
AXIS_DEVICES[device.serial_number] = device
|
AXIS_DEVICES[device.serial_number] = device
|
||||||
|
if event_types:
|
||||||
hass.add_job(device.start)
|
hass.add_job(device.start)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user