mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
custom min/max have priority #1703
This commit is contained in:
@@ -742,6 +742,7 @@ void EMSdevice::set_minmax(const void * value_p, int16_t min, uint32_t max) {
|
||||
if (dv.value_p == value_p) {
|
||||
dv.min = min;
|
||||
dv.max = max;
|
||||
dv.set_custom_minmax(); // custom priority
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user