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)