mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 05:37:44 +00:00
Update kira to use async_add_executor_job (#41847)
This commit is contained in:
parent
2e05592039
commit
3ee4f43b20
@ -50,6 +50,6 @@ class KiraRemote(Entity):
|
||||
|
||||
async def async_send_command(self, command, **kwargs):
|
||||
"""Send a command to a device."""
|
||||
return await self.hass.async_add_job(
|
||||
return await self.hass.async_add_executor_job(
|
||||
ft.partial(self.send_command, command, **kwargs)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user