Update axis.py (#10412)
This commit is contained in:
parent
4420f11d9d
commit
68fb995c63
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue