Skip to content

Commit

Permalink
Add executor job (home-assistant#16853)
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob authored Sep 25, 2018
1 parent 4501bdb commit 7de0e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/lovelace/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async def websocket_lovelace_config(hass, connection, msg):
"""Send lovelace UI config over websocket config."""
error = None
try:
config = await hass.async_add_job(
config = await hass.async_add_executor_job(
load_yaml, hass.config.path('ui-lovelace.yaml'))
message = websocket_api.result_message(
msg['id'], config
Expand Down

0 comments on commit 7de0e1e

Please sign in to comment.