mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +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…
x
Reference in New Issue
Block a user