v2.3.0-beta.2 – SOC % unit, bounds fix, plug helper refactor
Pre-release
Pre-release
v2.3.0-beta.2 – Pre-release for testing
Supersedes beta.1. Enable "Show beta versions" in HACS → Integrations → Jackery SolarVault → (gear icon) to install.
Fixed
- SOC Charge Limit slider range corrected to 50–100 % (was 0–100 %; values below 50 % were silently ignored by device)
- SOC Discharge Limit slider range corrected to 5–49 % (was 0–100 %; values above 49 % were silently ignored by device)
- Smart plug switch creation filter tightened: only devType=6 creates switches (previous check was too broad)
Added
- Percentage unit on SOC sliders: SOC Charge Limit, SOC Discharge Limit and SOC Force Charge now show the
%unit in the HA UI (closes #16) - Dynamic SOC limit bounds: Slider min/max update automatically when device reports
minSocChg/maxSocChg/minSocDischg/maxSocDischg
Refactored
- Plug helper functions moved from
switch.pytosensor.pyas shared public exports
Test coverage: 87 tests, 53.88 % coverage