autoformatting

This commit is contained in:
proddy
2023-09-20 23:09:29 +02:00
parent 755408e6aa
commit 6655035561
5 changed files with 21 additions and 6 deletions

View File

@@ -1671,7 +1671,7 @@ bool EMSdevice::generate_values(JsonObject & output, const uint8_t tag_filter, c
if (v < dv.min) {
dv.min = v;
dv.remove_state(DeviceValueState::DV_HA_CONFIG_CREATED);
} else if (v > dv.max) {
} else if ((uint32_t)v > dv.max) {
dv.max = v;
dv.remove_state(DeviceValueState::DV_HA_CONFIG_CREATED);
}