mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
moving dallas-setting, cleanup
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user