diff --git a/src/devices/boiler.cpp b/src/devices/boiler.cpp index 30da339f8..028d84d17 100644 --- a/src/devices/boiler.cpp +++ b/src/devices/boiler.cpp @@ -590,7 +590,7 @@ Boiler::Boiler(uint8_t device_type, int8_t device_id, uint8_t product_id, const FL_(tempDiffHeat), DeviceValueUOM::K, MAKE_CF_CB(set_tempDiffHeat), - 3, + 2, 10); register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, &tempDiffCool_, @@ -599,7 +599,7 @@ Boiler::Boiler(uint8_t device_type, int8_t device_id, uint8_t product_id, const FL_(tempDiffCool), DeviceValueUOM::K, MAKE_CF_CB(set_tempDiffCool), - 3, + 2, 10); register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, &vp_cooling_, DeviceValueType::BOOL, FL_(vp_cooling), DeviceValueUOM::NONE, MAKE_CF_CB(set_vp_cooling)); register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, &heatCable_, DeviceValueType::BOOL, FL_(heatCable), DeviceValueUOM::NONE, MAKE_CF_CB(set_heatCable)); diff --git a/src/devices/thermostat.cpp b/src/devices/thermostat.cpp index 97b9086aa..5f6bae89b 100644 --- a/src/devices/thermostat.cpp +++ b/src/devices/thermostat.cpp @@ -4196,7 +4196,7 @@ void Thermostat::register_device_values_hc(std::shared_ptrcooling, DeviceValueType::BOOL, FL_(hpcooling), DeviceValueUOM::NONE, MAKE_CF_CB(set_cooling)); register_device_value(tag, &hc->hpmode, DeviceValueType::ENUM, FL_(enum_hpmode), FL_(hpmode), DeviceValueUOM::NONE, MAKE_CF_CB(set_hpmode)); - register_device_value(tag, &hc->dewoffset, DeviceValueType::UINT, FL_(dewoffset), DeviceValueUOM::K, MAKE_CF_CB(set_dewoffset)); + register_device_value(tag, &hc->dewoffset, DeviceValueType::UINT, FL_(dewoffset), DeviceValueUOM::K, MAKE_CF_CB(set_dewoffset), 2, 10); register_device_value(tag, &hc->roomtempdiff, DeviceValueType::UINT, FL_(roomtempdiff), DeviceValueUOM::K, MAKE_CF_CB(set_roomtempdiff)); register_device_value(tag, &hc->hpminflowtemp, DeviceValueType::UINT, FL_(hpminflowtemp), DeviceValueUOM::DEGREES, MAKE_CF_CB(set_hpminflowtemp));