Skip to content
Snippets Groups Projects
Commit 8d3285b5 authored by KERDREUX Jerome's avatar KERDREUX Jerome
Browse files

Fix the groupID (issue w/ HASS)

parent ce683589
Branches
Tags
No related merge requests found
......@@ -93,7 +93,7 @@ func main() {
eng.Start()
baseAddr, _ := uuid.FromString("89b11138-a76b-11ee-91c7-d6bd5fe10000")
group := baseAddr
group, _ := baseAddr.Add(0xeeff)
for i := int64(0); i < 6; i++ {
addr, _ := baseAddr.Add(i)
l := newLamp(addr, group)
......
......@@ -11,9 +11,8 @@ func main() {
eng := xaal.NewEngine()
eng.Start()
grpID := uuid.Random()
addr, _ := uuid.FromString("820f3c5c-029a-4799-8105-8d6d5357462b")
grpID, _ := addr.Add(0xeeff)
lamp := schemas.NewLampDimmer(addr)
lamp.Info = "Fake (Go)lamp from schemas"
lamp.HWID = "0x1234"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment