From 6531bf12c85fa87884bfac26a50f81eb76b0a538 Mon Sep 17 00:00:00 2001 From: Berlioz Ubiquitus Date: Mon, 27 Oct 2025 15:33:55 +0800 Subject: [PATCH] Fix MQTT topic to publish config for Home Assistant --- docs/PIR-Motion-Sensors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/PIR-Motion-Sensors.md b/docs/PIR-Motion-Sensors.md index e6f22a1651..4bf4e533e3 100644 --- a/docs/PIR-Motion-Sensors.md +++ b/docs/PIR-Motion-Sensors.md @@ -96,7 +96,7 @@ Backlog rule1 on switch2#state do publish stat/%topic%/MOTION %value% endon; rul 3. Run this very-long command all at once: ```console -rule2 on system#boot do publish2 homeassistant/%topic%/config { +rule2 on system#boot do publish2 homeassistant/binary_sensor/%topic%/config { "name": "Motion Sensor", "state_topic": "stat/%topic%/MOTION", "payload_on": 1,