From 22540a9aadce02ad505abad5c29bb551e5118356 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 26 May 2024 22:13:50 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- custom_components/yoto/coordinator.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/custom_components/yoto/coordinator.py b/custom_components/yoto/coordinator.py index 9b2fb9b..5799d0a 100644 --- a/custom_components/yoto/coordinator.py +++ b/custom_components/yoto/coordinator.py @@ -105,7 +105,9 @@ async def async_set_time(self, player_id: str, key: str, value: time) -> None: config.day_mode_time = str(value) if key == "night_mode_time": config.night_mode_time = str(value) - await self.hass.async_add_executor_job(self.yoto_manager.set_player_config, player_id, config) + await self.hass.async_add_executor_job( + self.yoto_manager.set_player_config, player_id, config + ) async def async_play_card( self,