From 6db4f50435e6e58913f2b3b858e834e08ee44d55 Mon Sep 17 00:00:00 2001 From: io53 Date: Wed, 11 Dec 2024 22:47:50 +0200 Subject: [PATCH] correctly label dewpoint as humidity #452 --- src/components/SensorTypePicker.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SensorTypePicker.jsx b/src/components/SensorTypePicker.jsx index aa612d6..fbc4aee 100644 --- a/src/components/SensorTypePicker.jsx +++ b/src/components/SensorTypePicker.jsx @@ -87,7 +87,7 @@ export default function SensorTypePicker(props) { label = t(getUnitHelper(sensorType).label) + " (" + t("humidity_absolute_name") +")" } else if (sensorType === "humidity" && unit?.cloudStoreKey === "2") { - label = t(unit.translationKey) + " (" + t(getUnitHelper("temperature").unit) + ")" + label = t(getUnitHelper(sensorType).label) + " (" +t(unit.translationKey) + " (" + t(getUnitHelper("temperature").unit) + "))" } else { label = t(getUnitHelper(sensorType).label) + (unit ? ` (${t(unit.translationKey)})` : "")