remove useless extra subscriptions #173

This commit is contained in:
MichaelDvP
2021-11-04 13:13:41 +01:00
parent 452921d198
commit 8d9fd95e85
2 changed files with 3 additions and 6 deletions

View File

@@ -699,9 +699,8 @@ void System::commands_init() {
Command::add(EMSdevice::DeviceType::SYSTEM, F("test"), System::command_test, F("run tests"));
#endif
// MQTT subscribe "ems-esp/system/#" and "ems-esp/system"
// MQTT subscribe "ems-esp/system/#"
Mqtt::subscribe(EMSdevice::DeviceType::SYSTEM, "system/#", nullptr); // use empty function callback
Mqtt::subscribe(EMSdevice::DeviceType::SYSTEM, "system", nullptr); // use empty function callback
}
// flashes the LED