From 9fd7b2553c3b69961f4719d0f44df4ec07d883f1 Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Sat, 20 Jan 2024 17:24:47 +0100 Subject: [PATCH] set min/max for hpDiffPress --- src/devices/boiler.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/devices/boiler.cpp b/src/devices/boiler.cpp index bb5919615..74195e884 100644 --- a/src/devices/boiler.cpp +++ b/src/devices/boiler.cpp @@ -488,7 +488,9 @@ Boiler::Boiler(uint8_t device_type, int8_t device_id, uint8_t product_id, const DeviceValueNumOp::DV_NUMOP_MUL50, FL_(hpSetDiffPress), DeviceValueUOM::MBAR, - MAKE_CF_CB(set_hpDiffPress)); + MAKE_CF_CB(set_hpDiffPress), + 150, + 750); register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, &hpCompOn_, DeviceValueType::BOOL, FL_(hpCompOn), DeviceValueUOM::NONE); register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, &hpActivity_, DeviceValueType::ENUM, FL_(enum_hpactivity), FL_(hpActivity), DeviceValueUOM::NONE); // register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, &hpHeatingOn_, DeviceValueType::BOOL, FL_(hpHeatingOn), DeviceValueUOM::NONE);