diff --git a/lib/framework/MqttSettingsService.cpp b/lib/framework/MqttSettingsService.cpp index a68d478c3..04efccd7b 100644 --- a/lib/framework/MqttSettingsService.cpp +++ b/lib/framework/MqttSettingsService.cpp @@ -138,8 +138,6 @@ void MqttSettingsService::configureMqtt() { _mqttClient.setMaxTopicLength(_state.maxTopicLength); _mqttClient.connect(); } - - emsesp::EMSESP::dallassensor_.reload(); // added by Proddy for EMS-ESP } void MqttSettings::read(MqttSettings & settings, JsonObject & root) { diff --git a/src/test/test.cpp b/src/test/test.cpp index 7e58999c1..94e8bc111 100644 --- a/src/test/test.cpp +++ b/src/test/test.cpp @@ -194,7 +194,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd) { // init stuff Mqtt::ha_enabled(true); - Mqtt::dallas_format(1); + EMSESP::dallassensor_.dallas_format(1); Mqtt::ha_climate_format(1); EMSESP::rxservice_.ems_mask(EMSbus::EMS_MASK_BUDERUS); EMSESP::watch(EMSESP::Watch::WATCH_RAW); // raw