diff --git a/src/devices/boiler.cpp b/src/devices/boiler.cpp index 1b2d89588..1c4bde70f 100644 --- a/src/devices/boiler.cpp +++ b/src/devices/boiler.cpp @@ -238,7 +238,7 @@ Boiler::Boiler(uint8_t device_type, int8_t device_id, uint8_t product_id, const DeviceValueUOM::NONE, MAKE_CF_CB(set_energyCostRatio), 0, - 19.9); + 20); register_device_value(DeviceValueTAG::TAG_BOILER_DATA, &fossileFactor_, DeviceValueType::UINT, diff --git a/src/devices/thermostat.cpp b/src/devices/thermostat.cpp index b4567d49a..b7c26b62f 100644 --- a/src/devices/thermostat.cpp +++ b/src/devices/thermostat.cpp @@ -3720,7 +3720,7 @@ void Thermostat::register_device_values() { DeviceValueUOM::NONE, MAKE_CF_CB(set_energyCostRatio), 0, - 19.9); + 20); register_device_value(DeviceValueTAG::TAG_THERMOSTAT_DATA, &fossileFactor_, DeviceValueType::UINT,