forked from home-assistant/core
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