1
mirror of https://github.com/home-assistant/core synced 2024-10-13 14:52:10 +02:00

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: