Merge pull request #2912 from MichaelDvP/dev

update testdata (no `.0`-decimales), fix c3 compile issue
This commit is contained in:
Proddy
2026-01-09 21:25:29 +01:00
committed by GitHub
6 changed files with 29 additions and 15 deletions

View File

@@ -1268,7 +1268,7 @@ void Mqtt::add_ha_classes(JsonObject doc, const uint8_t device_type, const uint8
doc[sc_ha] = sc_ha_total_increasing;
doc[dc_ha] = "monetary";
break;
case DeviceValueUOM::HZ:
case DeviceValueUOM::HERTZ:
doc[sc_ha] = sc_ha_measurement;
doc[dc_ha] = "frequency";
break;