diff --git a/src/inputs/rotary/RotaryPlugin.cpp b/src/inputs/rotary/RotaryPlugin.cpp index 4898827..1d9e091 100644 --- a/src/inputs/rotary/RotaryPlugin.cpp +++ b/src/inputs/rotary/RotaryPlugin.cpp @@ -33,6 +33,6 @@ void RotaryPlugin::checkInput() ButtonState newBtnState = rotaryEncoder->currentButtonState(); if(newBtnState != btnState){ btnState = newBtnState; - publish(String(config.topic) + String("/button"), String(btnState)); + publish(String(config.topic) + String("/btn"), String(btnState)); } }