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