From 3b7f50d12efce6fadc97a3d2c422b0804d311eb8 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Thu, 16 Apr 2020 23:05:56 +0200 Subject: [PATCH] pass an argument to update_dsp for async_track_time_interval async_track_time_interval expects a callable with a signature 'action(now=datetime)'. We don't do anything with that datatime, so we just accept it and throw it away. This closes #34258 --- homeassistant/components/kef/media_player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/kef/media_player.py b/homeassistant/components/kef/media_player.py index 14e6e6b406f07c..d888b30a3b9381 100644 --- a/homeassistant/components/kef/media_player.py +++ b/homeassistant/components/kef/media_player.py @@ -357,7 +357,7 @@ async def async_media_next_track(self): """Send next track command.""" await self._speaker.next_track() - async def update_dsp(self) -> None: + async def update_dsp(self, _=None) -> None: """Update the DSP settings.""" if self._speaker_type == "LS50" and self._state == STATE_OFF: # The LSX is able to respond when off the LS50 has to be on.