KoljaWindeler/ytube_music_player

Deprecated methods in use (2024.5.0)

Closed this issue · 1 comments

Describe the bug

  • Detected that custom integration 'ytube_music_player' calls async_track_state_change instead of async_track_state_change_event which is deprecated and will be removed in Home Assistant 2025.5 at custom_components/ytube_music_player/media_player.py, line 1069: async_track_state_change(self.hass, self._selects['repeatmode'], self.async_update_playmode)

  • Detected that custom integration 'ytube_music_player' calls async_write_ha_state from a thread at custom_components/ytube_music_player/select.py, line 36: self.async_write_ha_state()

Version
20240420.02

To Reproduce
Try to change the playlist or the speakers, etc. via the select entity.

Resolved with #337