From 8fe635f2f893da8069721fe3d66edf6077cca33c Mon Sep 17 00:00:00 2001 From: blakadder Date: Sun, 3 Mar 2019 11:05:20 +0100 Subject: [PATCH] Updated PowerOnState Configuration (markdown) --- PowerOnState-Configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerOnState-Configuration.md b/PowerOnState-Configuration.md index 7625cbf0..9ebbf494 100644 --- a/PowerOnState-Configuration.md +++ b/PowerOnState-Configuration.md @@ -48,7 +48,7 @@ Now you can see, if there are messages stored that Power ON/OFF and need to be d Using mosquitto: -`mosquitto_pub -p 1883 -u -P -d -n -r -t cmnd/sonoff/power` +`mosquitto_pub -p 1883 -u -P -d -n -r -t cmnd/%topic%/power` The -n sends an empty key and the -r sets the retain flag to store this change permanently