From 8a7a1383a75c540a84ee9e9569045ccbd979f5d2 Mon Sep 17 00:00:00 2001 From: proddy Date: Sat, 10 Jan 2026 18:59:42 +0100 Subject: [PATCH] added comment reference to HA --- src/core/locale_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/locale_common.h b/src/core/locale_common.h index cf1220252..b840ad511 100644 --- a/src/core/locale_common.h +++ b/src/core/locale_common.h @@ -245,6 +245,7 @@ MAKE_NOTRANSLATION(tag_device_data, "") // Unit Of Measurement mapping - maps to DeviceValueUOM_s in emsdevice.cpp // Translating hours/minute/seconds are done in emsdevice.cpp (uom_to_string()) +// to keep to some form of consistency, all UOMs follow Home Assistant naming conventions - https://developers.home-assistant.io/docs/core/entity/sensor/#available-device-classes MAKE_WORD_CUSTOM(uom_blank, " ") MAKE_WORD_CUSTOM(uom_percent, "%") MAKE_WORD_CUSTOM(uom_degrees, "°C")