Sleep

def sleep(self):
        """Sleep"""
        try:
            self.send_command("SLEEP")
            return True
        except requests.exceptions.RequestException:
            _LOGGER.error("Connection error: sleep command not sent.")
            return False