def async_media_play_pause(self):
    'Pause media on media player.\n\n        This method must be run in the event loop and returns a coroutine.\n        '
    return self.async_set_play_state('toggle')
Pause media on media player.

This method must be run in the event loop and returns a coroutine.
def async_media_play_pause(self):
    'Pause media on media player.\n\n        This method must be run in the event loop and returns a coroutine.\n        '
    return self.async_set_play_state('toggle')