Adds Running State & Inverter Battery Power sensors, extends H3 Pro support for dual batteries #247
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds Inverter Battery Power sensor - this is what the inverter measures for power coming from the battery, it shows a negative kW for charge and positive kW for discharge. On dual battery systems there is one power sensor per battery.
Adds Inverter Running State sensor - this shows the current operational state of the inverter i.e.
161: waiting
,162: checking
,163: on-grid
,164: off-grid
,165: fault
etc...Adds battery temperature for dual batteries
Get all variables (getRaw) API call no longer requests which variables should be returned, allowing all server side variables to be returned which should make the call quicker and reduce Foxess server processing - also simplifies future debugging as all cloud variables can be analysed.