code: func (h HAState) String() string {
  	switch h {
  	case HAUnknown:
  		return "Unknown"
  	case HABackup:
  		return "Backup"
  	case HADisabled:
  		return "Disabled"
  	case HAError:
  		return "Error"
  	case HAMaster:
  		return "Master"
  	case HAShutdown:
  		return "Shutdown"
  	}
  	return "(invalid)"
  }
docs: // String returns the string representation of an HAState.