docs: def refresh(self):
          """Refresh the automation."""
          url = CONST.AUTOMATION_ID_URL
          url = url.replace(
              '$AUTOMATIONID$', self.automation_id)
  
          response = self._abode.send_request(method="get", url=url)
          response_object = json.loads(response.text)
  
          if isinstance(response_object, (tuple, list)):
              response_object = response_object[0]
  
          if str(response_object['id']) != self.automation_id:
              raise AbodeException((ERROR.INVALID_AUTOMATION_REFRESH_RESPONSE))
  
          self.update(response_object)