mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Use async api in yamaha_musiccast to create tasks (#113785)
This commit is contained in:
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…
x
Reference in New Issue
Block a user