Skip to content

Commit 614a014

Browse files
committed
the mqtt topic is automatically set, so no need to expose the property the user - now hiding property in class constructor
1 parent 56b8039 commit 614a014

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/iot/iot_thingspeak/flxIoTThingSpeak.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ class flxIoTThingSpeak : public flxMQTTESP32SecureCore<flxIoTThingSpeak>, public
8888

8989
flxRegister(deviceList, "Channels", "Comma separated list of <device name>=<channel ID>");
9090

91+
// The topic is auto-generated -- it needs/uses the channel ID. So, let's hide the topic property it from the
92+
// user
93+
topic.setHidden(true);
94+
9195
flux.add(this);
9296
}
9397

0 commit comments

Comments
 (0)