Skip to content

Commit

Permalink
Fix non-async load_yaml of services.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeweerd committed Aug 5, 2024
1 parent 47d3f27 commit 2377ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/zha_toolkit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ async def reload_services_yaml(hass):

async def _register_services(hass):
register_services(hass)
await reload_services_yaml(hass)
await hass.async_add_executor_job(reload_services_yaml, hass)


#
Expand Down

0 comments on commit 2377ace

Please sign in to comment.