From d8d348d9067ab58079c9168243072dae6c7be9b3 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Fri, 24 May 2024 22:43:03 +0200 Subject: [PATCH] Fixed presence topic --- config.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.lua b/config.lua index 6544e1f..8ac6abc 100644 --- a/config.lua +++ b/config.lua @@ -37,7 +37,7 @@ automation.device_manager:add(Ntfy.new({ })) automation.device_manager:add(Presence.new({ - topic = "automation_dev/presence/+/#", + topic = mqtt_automation("presence/+/#"), client = mqtt_client, event_channel = automation.device_manager:event_channel(), })) @@ -137,6 +137,7 @@ automation.device_manager:add(IkeaOutlet.new({ topic = mqtt_z2m("workbench/outlet"), client = mqtt_client, })) + local hallway_lights = HueGroup.new({ identifier = "hallway_lights", ip = hue_ip,