From 57b099c2aafdd15a5b51bea302b424cc3464c8b5 Mon Sep 17 00:00:00 2001
From: Manu <4445816+tr4nt0r@users.noreply.github.com>
Date: Thu, 28 Nov 2024 16:55:07 +0100
Subject: [PATCH] Add unit translations to Ista EcoTrend integration (#131768)

---
 homeassistant/components/ista_ecotrend/sensor.py    | 1 -
 homeassistant/components/ista_ecotrend/strings.json | 3 ++-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/homeassistant/components/ista_ecotrend/sensor.py b/homeassistant/components/ista_ecotrend/sensor.py
index 7aa1adfe4c9..779a5d5c55f 100644
--- a/homeassistant/components/ista_ecotrend/sensor.py
+++ b/homeassistant/components/ista_ecotrend/sensor.py
@@ -71,7 +71,6 @@ SENSOR_DESCRIPTIONS: tuple[IstaSensorEntityDescription, ...] = (
         translation_key=IstaSensorEntity.HEATING,
         suggested_display_precision=0,
         consumption_type=IstaConsumptionType.HEATING,
-        native_unit_of_measurement="units",
         state_class=SensorStateClass.TOTAL,
     ),
     IstaSensorEntityDescription(
diff --git a/homeassistant/components/ista_ecotrend/strings.json b/homeassistant/components/ista_ecotrend/strings.json
index 0757977a8ea..e7c37461b19 100644
--- a/homeassistant/components/ista_ecotrend/strings.json
+++ b/homeassistant/components/ista_ecotrend/strings.json
@@ -38,7 +38,8 @@
   "entity": {
     "sensor": {
       "heating": {
-        "name": "Heating"
+        "name": "Heating",
+        "unit_of_measurement": "units"
       },
       "heating_cost": {
         "name": "Heating cost"
-- 
GitLab