def set_timezone(self, timezone: str):
        """ sets the timezone for the AP. e.g. "Europe/Berlin" 
        Args:
            timezone(str): the new timezone
        """
        data = {"timezoneId": timezone}
        return self._restCall("home/setTimezone", body=json.dumps(data))
def set_timezone ( self , timezone : str ) : data = { "timezoneId" : timezone } return self . _restCall ( "home/setTimezone" , body = json . dumps ( data ) )
sets the timezone for the AP. e.g. "Europe/Berlin" 
        Args:
            timezone(str): the new timezone