go install code.pfad.fr/gohmekit/cmd/generate@latest
type Characteristic struct { UUID string Name string Constraints struct { ValidBits map[string]string ValidValues map[string]string MinimumValue interface{} StepValue interface{} MaximumValue interface{} } Format string Permissions []string Properties []string Unit string }
type Metadata struct { Categories []Category Characteristics []Characteristic Version string Services []struct { OptionalCharacteristics []string RequiredCharacteristics []string Name string UUID string } }
categories.go characteristics.go main.go services.go type.go