Fix braviatv typing (#66871)

This commit is contained in:
Marc Mueller
2022-02-19 15:46:22 +01:00
committed by GitHub
parent 6cd3b45b74
commit 3770f4da5c

View File

@@ -110,7 +110,7 @@ class BraviaTVCoordinator(DataUpdateCoordinator[None]):
),
)
def _send_command(self, command: str, repeats: int = 1) -> None:
def _send_command(self, command: Iterable[str], repeats: int = 1) -> None:
"""Send a command to the TV."""
for _ in range(repeats):
for cmd in command: