From 2c98c350f529331985cf64e0f95273c70f43cd45 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 19 May 2024 15:47:03 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- custom_components/yoto/media_player.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/custom_components/yoto/media_player.py b/custom_components/yoto/media_player.py index a383dc2..89d53f9 100644 --- a/custom_components/yoto/media_player.py +++ b/custom_components/yoto/media_player.py @@ -78,7 +78,9 @@ async def async_play_media( ) -> None: if cardid is None: cardid = 1 - await self.coordinator.async_play_card(self.player.id, media_id, cardid, 0, 0, 1) + await self.coordinator.async_play_card( + self.player.id, media_id, cardid, 0, 0, 1 + ) @property def supported_features(self) -> MediaPlayerEntityFeature: