mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
Update axis.py (#10412)
This commit is contained in:
parent
4420f11d9d
commit
68fb995c63
@ -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…
x
Reference in New Issue
Block a user