Update wake_on_lan to use async_add_executor_job (#41528)

This commit is contained in:
J. Nick Koston
2020-10-09 02:29:16 -05:00
committed by GitHub
parent 3267823165
commit 617509413c

View File

@@ -45,7 +45,7 @@ async def async_setup(hass, config):
broadcast_port,
)
await hass.async_add_job(
await hass.async_add_executor_job(
partial(wakeonlan.send_magic_packet, mac_address, **service_kwargs)
)