code: def set_dhw_off(self, until=None):
          
          if until is None:
              data = {"Mode": "PermanentOverride",
                      "State": "Off",
                      "UntilTime": None}
          else:
              data = {"Mode": "TemporaryOverride",
                      "State": "Off",
                      "UntilTime": until.strftime('%Y-%m-%dT%H:%M:%SZ')}
  
          self._set_dhw(data)
docs: Sets the DHW off until a given time, or permanently.