mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
max must be a integer (changed 19.9 to 20)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user