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

This commit is contained in:
2022-11-19 04:54:12 +01:00
parent 5aefcf0157
commit 301551596a

View File

@@ -53,7 +53,7 @@ func presenceAutomation(client paho.Client, hue *hue.Hue, notify *ntfy.Notify, h
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())
}
}