mirror of
https://github.com/home-assistant/core
synced 2024-10-08 05:27:31 +00:00
Update wake_on_lan to use async_add_executor_job (#41528)
This commit is contained in:
parent
3267823165
commit
617509413c
|
@ -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)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue