Fixed topic for overall presence automation
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dreaded_X 2022-11-19 04:54:12 +01:00
parent 5aefcf0157
commit 301551596a
Signed by: Dreaded_X
GPG Key ID: 76BDEC4E165D8AD9

View File

@ -53,7 +53,7 @@ func presenceAutomation(client paho.Client, hue *hue.Hue, notify *ntfy.Notify, h
notify.Presence(message.State) notify.Presence(message.State)
} }
if token := client.Subscribe("test/remote", 1, handler); token.Wait() && token.Error() != nil { if token := client.Subscribe("automation/presence", 1, handler); token.Wait() && token.Error() != nil {
log.Println(token.Error()) log.Println(token.Error())
} }
} }