Fixed
- Three-phase Ocean 2 support. The model is now recognised from its product number, its 32-bit registers are read high word first, and its reads stop at every address it does not implement instead of being refused as a whole.
- The grid no longer powers the house while the Charge Limit is on and the battery could. When the house uses more than the solar for a while, the inverter now runs by itself until the power flow turns. Small power corrections also wait until the battery has reached the last one.
Changed
- Control Status now shows Ramping or Unreachable when the inverter is not doing what a guard asks for, instead of always showing Charge limit reached or Reserve reached. Automations that check for those states should read the new
guardattribute instead. - Instead of using hardcoded defaults when setting up the integration, we query the integration and pre-fill the values for battery count, solar power etc. The user can adjust these manually during and after, but the pre-filled values should be good for the vast majority of users.
- Rework tests to use pytest-homeassistant-custom-component and support all versions back to Home Assistant 2025.12.0
Added
- Ocean 2 Single Phase as a selectable model, detected as product number 4 with the single-phase category.
Details
- Add support for Ocean 2 3-phase by @windmark in #104
- Rework tests to use pytest-homeassistant-custom-component by @windmark in #106
- Auto-prefill integration config from registers by @windmark in #105
- Rework charge limit to fix power drawn from grid by @windmark in #109
Full Changelog: v2.5.1...v2.5.2