Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/PIR-Motion-Sensors.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down