Update kira to use async_add_executor_job (#41847)
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…
Reference in New Issue