moving dallas-setting, cleanup

This commit is contained in:
MichaelDvP
2021-07-16 16:24:03 +02:00
parent 0f48d3e72c
commit 7dec674452
2 changed files with 1 additions and 3 deletions

View File

@@ -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) {

View File

@@ -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