From 301551596a2ede672825fc38661a46b6e21778da Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Sat, 19 Nov 2022 04:54:12 +0100 Subject: [PATCH] Fixed topic for overall presence automation --- automation/presence.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/presence.go b/automation/presence.go index 27a7421..0e61c76 100644 --- a/automation/presence.go +++ b/automation/presence.go @@ -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()) } }