Fix async bug in amcrest when registering services (#31334)

This commit is contained in:
Phil Bruckner 2020-01-31 01:28:54 -06:00 committed by Pascal Vizeli
parent 3635c4df50
commit a53c3d10fe

View file

@ -256,7 +256,7 @@ def setup(hass, config):
async_dispatcher_send(hass, service_signal(call.service, entity_id), *args)
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