Skip to content

Commit

Permalink
Merge pull request #459 from videojedi/patch-1
Browse files Browse the repository at this point in the history
Update sensor.py
  • Loading branch information
CJNE authored Feb 18, 2024
2 parents 4528826 + ef72dee commit 4687d63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/myenergi/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,9 @@ async def async_setup_entry(hass, entry, async_add_devices):
"state_of_charge",
DEVICE_CLASS_BATTERY,
PERCENTAGE,
None,
None,
STATE_CLASS_MEASUREMENT,
),
)
)
Expand Down

0 comments on commit 4687d63

Please sign in to comment.