Fix async bug in amcrest when registering services (#31334)
This commit is contained in:
parent
74413e07d0
commit
7e9507833b
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ def setup(hass, config):
|
||||||
async_dispatcher_send(hass, service_signal(call.service, entity_id), *args)
|
async_dispatcher_send(hass, service_signal(call.service, entity_id), *args)
|
||||||
|
|
||||||
for service, params in CAMERA_SERVICES.items():
|
for service, params in CAMERA_SERVICES.items():
|
||||||
hass.services.async_register(DOMAIN, service, async_service_handler, params[0])
|
hass.services.register(DOMAIN, service, async_service_handler, params[0])
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue