Update kira to use async_add_executor_job (#41847)
This commit is contained in:
parent
2e05592039
commit
3ee4f43b20
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue