mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-03-14 05:36:34 +03:00
remove SRC climate for test
This commit is contained in:
@@ -2156,6 +2156,7 @@ void EMSdevice::mqtt_ha_entity_config_create() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// SRC thermostats mapped to connect/src1/...
|
// SRC thermostats mapped to connect/src1/...
|
||||||
|
/* removed climate for testing
|
||||||
if (dv.tag >= DeviceValueTAG::TAG_SRC1 && dv.tag <= DeviceValueTAG::TAG_SRC16 && !strcmp(dv.short_name, FL_(selRoomTemp)[0])) {
|
if (dv.tag >= DeviceValueTAG::TAG_SRC1 && dv.tag <= DeviceValueTAG::TAG_SRC16 && !strcmp(dv.short_name, FL_(selRoomTemp)[0])) {
|
||||||
const char * icon = nullptr;
|
const char * icon = nullptr;
|
||||||
for (auto & d : devicevalues_) {
|
for (auto & d : devicevalues_) {
|
||||||
@@ -2168,6 +2169,7 @@ void EMSdevice::mqtt_ha_entity_config_create() {
|
|||||||
// https://github.com/emsesp/EMS-ESP32/issues/2636
|
// https://github.com/emsesp/EMS-ESP32/issues/2636
|
||||||
Mqtt::publish_ha_climate_config(dv, true, nullptr, false, icon);
|
Mqtt::publish_ha_climate_config(dv, true, nullptr, false, icon);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef EMSESP_STANDALONE
|
#ifndef EMSESP_STANDALONE
|
||||||
// always create minimum one config
|
// always create minimum one config
|
||||||
|
|||||||
Reference in New Issue
Block a user