From 3ee4f43b206a2d20da11701fecf7ad697c8ccc93 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 15 Oct 2020 09:22:37 -0500 Subject: [PATCH] Update kira to use async_add_executor_job (#41847) --- homeassistant/components/kira/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/kira/remote.py b/homeassistant/components/kira/remote.py index 330813a7bff..c9b51fd7ab7 100644 --- a/homeassistant/components/kira/remote.py +++ b/homeassistant/components/kira/remote.py @@ -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) )