def media_play_pause(self):
        if self._playing:
            self.media_pause()
        else:
            self.media_play()
Simulate play pause media player.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/media_player/panasonic_viera.py/PanasonicVieraTVDevice.media_play_pause