Skip to content

Commit 2377ace

Browse files
committed
Fix non-async load_yaml of services.yaml
1 parent 47d3f27 commit 2377ace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/zha_toolkit/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ async def reload_services_yaml(hass):
917917

918918
async def _register_services(hass):
919919
register_services(hass)
920-
await reload_services_yaml(hass)
920+
await hass.async_add_executor_job(reload_services_yaml, hass)
921921

922922

923923
#

0 commit comments

Comments
 (0)