mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 22:25:13 +02:00
Convert remaining async_add_job to async_add_executor_job in media_player (#41790)
This commit is contained in:
@@ -658,7 +658,7 @@ class MediaPlayerEntity(Entity):
|
||||
|
||||
async def async_set_repeat(self, repeat):
|
||||
"""Set repeat mode."""
|
||||
await self.hass.async_add_job(self.set_repeat, repeat)
|
||||
await self.hass.async_add_executor_job(self.set_repeat, repeat)
|
||||
|
||||
# No need to overwrite these.
|
||||
@property
|
||||
|
Reference in New Issue
Block a user