Added missing leaving home code
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dreaded_X 2022-09-16 21:40:36 +02:00
parent b4031e4198
commit e3edee3e09
Signed by: Dreaded_X
GPG Key ID: 76BDEC4E165D8AD9

View File

@ -159,6 +159,8 @@ events:
fmt.Println("Coming home") fmt.Println("Coming home")
hue.updateFlag(41, true) hue.updateFlag(41, true)
} else { } else {
fmt.Println("Leaving home")
hue.updateFlag(41, false)
} }
fmt.Println("Done") fmt.Println("Done")