From 88376463acfd73fdfe2a6547b6420012fb576678 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 11 Mar 2023 14:43:04 +0100 Subject: [PATCH] Update sensor.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit batCurr add: native_unit_of_measurement="A⋅h" --- custom_components/saj_esolar/sensor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/saj_esolar/sensor.py b/custom_components/saj_esolar/sensor.py index b4227a7..276fa00 100644 --- a/custom_components/saj_esolar/sensor.py +++ b/custom_components/saj_esolar/sensor.py @@ -418,6 +418,7 @@ def add_years(d, years): key="batCurr", name="batCurr", icon="mdi:solar-panel-large", + native_unit_of_measurement="A⋅h" ), SensorEntityDescription( key="batEnergyPercent",