Skip to content

Commit

Permalink
Update sensor.py
Browse files Browse the repository at this point in the history
batCurr
add: native_unit_of_measurement="A⋅h"
  • Loading branch information
djansen1987 committed Mar 11, 2023
1 parent e0f42fe commit 8837646
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/saj_esolar/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8837646

Please sign in to comment.