fix display of mqtt subscriptions

This commit is contained in:
proddy
2021-10-20 09:34:50 +02:00
parent b3472c3919
commit fb7bafdb87
3 changed files with 8 additions and 5 deletions

View File

@@ -474,7 +474,8 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd) {
if (command == "mqtt_individual") {
shell.printfln(F("Testing individual MQTT"));
Mqtt::ha_enabled(false); // turn off HA Discovery to stop the chatter
Mqtt::subscribe_format(1); // individual topics
Mqtt::subscribe_format(2); // individual topics, all HC
// Mqtt::subscribe_format(1); // individual topics, only main HC
run_test("boiler");
run_test("thermostat");