async def turn_off(self):
_LOGGER.debug("<STR_LIT>", self._state)<EOL>if self._state in [State.PLAYING_LIVE_TV, State.PLAYING_RECORDED_TV,<EOL>State.PLAYING_TIMESHIFT_TV, State.UNKNOWN]:<EOL><INDENT>await self.send_cmd('<STR_LIT>')<EOL>self._state = State.OFF<EOL><DEDENT>return self._state<EOL>
Turn off media player.