From bf201e988830a57accdbdb6fb5e7d07470137e9f Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Tue, 1 Dec 2026 17:28:46 +0100 Subject: [PATCH] Use the action field enums in kira (#195815) --- homeassistant/components/kira/remote.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/kira/remote.py b/homeassistant/components/kira/remote.py index 9a61e6b959c2..2cab329cf31d 100644 --- a/homeassistant/components/kira/remote.py +++ b/homeassistant/components/kira/remote.py @@ -43,6 +43,9 @@ class KiraRemote(remote.RemoteEntity): def send_command(self, command: Iterable[str], **kwargs: Any) -> None: """Send a command to one device.""" for single_command in command: - code_tuple = (single_command, kwargs.get(remote.ATTR_DEVICE)) + code_tuple = ( + single_command, + kwargs.get(remote.RemoteServiceArgument.DEVICE), + ) _LOGGER.debug("Sending Command: %s to %s", *code_tuple) self._kira.sendCode(code_tuple)