Fixed presence topic
All checks were successful
Build and deploy automation_rs / Run pre-commit checks (push) Successful in 6m50s
Build and deploy automation_rs / Build automation_rs (push) Successful in 4m47s
Build and deploy automation_rs / Build Docker image (push) Successful in 1m11s
Build and deploy automation_rs / Deploy Docker container (push) Successful in 33s

This commit is contained in:
Dreaded_X 2024-05-24 22:43:03 +02:00
parent 6ed1ee6ebc
commit d8d348d906
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4

View File

@ -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,