Use async api in yamaha_musiccast to create tasks (#113785)
parent
2f88460b68
commit
3bb0d04452
|
@ -927,4 +927,4 @@ class MusicCastMediaPlayer(MusicCastDeviceEntity, MediaPlayerEntity):
|
|||
@callback
|
||||
def async_schedule_check_client_list(self):
|
||||
"""Schedule async_check_client_list."""
|
||||
self.hass.create_task(self.async_check_client_list())
|
||||
self.hass.async_create_task(self.async_check_client_list(), eager_start=True)
|
||||
|
|
Loading…
Reference in New Issue