Skip to content

Commit f16ad20

Browse files
authored
Merge pull request #1515 from Ubiquitine/PIR-Motion-Sensors-HA-fix
[DOC: PIR Motion Sensors] Fix MQTT topic to publish config for Home Assistant
2 parents 9617a3f + 6531bf1 commit f16ad20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/PIR-Motion-Sensors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Backlog rule1 on switch2#state do publish stat/%topic%/MOTION %value% endon; rul
9696
3. Run this very-long command all at once:
9797

9898
```console
99-
rule2 on system#boot do publish2 homeassistant/%topic%/config {
99+
rule2 on system#boot do publish2 homeassistant/binary_sensor/%topic%/config {
100100
"name": "Motion Sensor",
101101
"state_topic": "stat/%topic%/MOTION",
102102
"payload_on": 1,

0 commit comments

Comments
 (0)