From 78064948169914aa2fc8290bba04e0bc76bbf98c Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sat, 12 Feb 2022 17:44:47 +0100 Subject: [PATCH] Fix typing [roku] (#66397) --- homeassistant/components/roku/remote.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/roku/remote.py b/homeassistant/components/roku/remote.py index 96c04597d89..9a0cd6f51e3 100644 --- a/homeassistant/components/roku/remote.py +++ b/homeassistant/components/roku/remote.py @@ -1,6 +1,7 @@ """Support for the Roku remote.""" from __future__ import annotations +from collections.abc import Iterable from typing import Any from homeassistant.components.remote import ATTR_NUM_REPEATS, RemoteEntity @@ -56,7 +57,7 @@ class RokuRemote(RokuEntity, RemoteEntity): await self.coordinator.async_request_refresh() @roku_exception_handler - async def async_send_command(self, command: list, **kwargs: Any) -> None: + async def async_send_command(self, command: Iterable[str], **kwargs: Any) -> None: """Send a command to one device.""" num_repeats = kwargs[ATTR_NUM_REPEATS]