Skip to content

Commit 645d601

Browse files
authored
fix lint
1 parent dd932f0 commit 645d601

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/rokuecp/rokuecp.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,14 @@ async def tune(self, channel: str) -> None:
396396
channel: The channel number to send to the Roku device.
397397
398398
"""
399-
await self.launch("tvinput.dtv", {"ch": channel, "chan": channel, "lcn": channel})
399+
400+
request_params = {
401+
"ch": channel,
402+
"chan": channel,
403+
"lcn": channel,
404+
}
405+
406+
await self.launch("tvinput.dtv", request_params)
400407

401408
async def _get_active_app(self) -> dict[str, Any]:
402409
"""Retrieve active app for updates.

0 commit comments

Comments
 (0)