code: async def turn_off(self):
          
          _LOGGER.debug("turn_off while %s", self._state)
          if self._state in [State.PLAYING_LIVE_TV, State.PLAYING_RECORDED_TV,
                            State.PLAYING_TIMESHIFT_TV, State.UNKNOWN]:
              await self.send_cmd('Power')
              self._state = State.OFF
          return self._state
docs: Turn off media player.