This commit is contained in:
MichaelDvP
2026-10-08 10:34:32 +02:00
parent 987710ac27
commit 8856d8f9c9
+3 -3
View File
@@ -726,7 +726,7 @@ Boiler::Boiler(uint8_t device_type, int8_t device_id, uint8_t product_id, const
register_device_value(DeviceValueTAG::TAG_DHW1, register_device_value(DeviceValueTAG::TAG_DHW1,
&maxHeatDhw_, &maxHeatDhw_,
DeviceValueType::ENUM, DeviceValueType::ENUM,
FL_(enum_maxHeat2), FL_(enum_maxHeat1),
FL_(maxHeatDhw), FL_(maxHeatDhw),
DeviceValueUOM::NONE, DeviceValueUOM::NONE,
MAKE_CF_CB(set_maxHeatDhw)); MAKE_CF_CB(set_maxHeatDhw));
@@ -1873,7 +1873,7 @@ void Boiler::process_HpHeaterConfig(const std::shared_ptr<const Telegram> & tele
if (model() == EMSdevice::EMS_DEVICE_FLAG_CS6800) { if (model() == EMSdevice::EMS_DEVICE_FLAG_CS6800) {
has_enumupdate(telegram, maxHeatComp_, 2, {0, 2, 4, 5}); has_enumupdate(telegram, maxHeatComp_, 2, {0, 2, 4, 5});
has_enumupdate(telegram, maxHeatHeat_, 3, {2, 4, 5}); has_enumupdate(telegram, maxHeatHeat_, 3, {2, 4, 5});
has_enumupdate(telegram, maxHeatDhw_, 4, {2, 4, 5}); has_enumupdate(telegram, maxHeatDhw_, 4, {0, 2, 4, 5});
return; return;
} }
has_update(telegram, maxHeatComp_, 2); has_update(telegram, maxHeatComp_, 2);
@@ -3238,7 +3238,7 @@ bool Boiler::set_HpInLogic(const char * value, const int8_t id) {
bool Boiler::set_maxHeat(const char * value, const int8_t id) { bool Boiler::set_maxHeat(const char * value, const int8_t id) {
uint8_t v; uint8_t v;
if (model() == EMSdevice::EMS_DEVICE_FLAG_CS6800) { if (model() == EMSdevice::EMS_DEVICE_FLAG_CS6800) {
if (id == 0) { if (id == 2 || id == 4) { // maxHeatComp, maxHeatDhw
if (!Helpers::value2enum(value, v, FL_(enum_maxHeat1), {0, 2, 4, 5})) { if (!Helpers::value2enum(value, v, FL_(enum_maxHeat1), {0, 2, 4, 5})) {
return false; return false;
} }