Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partially reverted b2a9ac5 - missing last_reset #179

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions solax/inverters/x3_hybrid_g4.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,10 @@ def response_decoder(cls):
"PV Energy total": (pack_u16(80, 81), Total(Units.KWH), div10),
"EPS Energy total": (pack_u16(83, 84), Total(Units.KWH), div10),
"EPS Energy today": (85, DailyTotal(Units.KWH), div10),
"Feed-in Energy today": (pack_u16(90, 91), DailyTotal(Units.KWH), div100),
"Consumed Energy today": (pack_u16(92, 93), DailyTotal(Units.KWH), div100),
# Partially reverting b2a9ac5 until last_reset is fixed in
# HA core - closed PR https://github.com/home-assistant/core/pull/114743
"Feed-in Energy today": (pack_u16(90, 91), Total(Units.KWH), div100),
"Consumed Energy today": (pack_u16(92, 93), Total(Units.KWH), div100),
"Feed-in Energy total": (pack_u16(86, 87), Total(Units.KWH), div100),
"Consumed Energy total": (pack_u16(88, 89), Total(Units.KWH), div100),
"Battery Remaining Capacity": (103, Units.PERCENT),
Expand Down
Loading