package characteristic

type Brightness struct {
	*Int
}

func NewBrightness(value int) *Brightness {
	integer := NewInt(value, 0, 100, 1, PermsAll())
	integer.Unit = UnitPercentage
	integer.Type = CharTypeBrightness

	return &Brightness{integer}
}

package characteristic

type Brightness struct {
	*Int
}

func NewBrightness(value int) *Brightness {
	i := NewInt(value, 0, 100, 1, PermsAll())
	i.Unit = UnitPercentage
	i.Type = CharTypeBrightness

	return &Brightness{i}
}

Rename integer variable to i
Rename integer variable to i
