v_1.8
✅ Fix
- Fix DC-LOAD calculation, thanks @Adminius
- Fix warnings for Home Assitant
- The VRM API does not provide strictly monotonically increasing values for daily, weekly, monthly, and yearly aggregated statistics. This happens because the VRM cloud periodically recalculates statistics and may slightly correct values that were already reported. These small decreases are interpreted by Home Assistant as errors when using state_class: total_increasing.
Affected sensors (examples from reported errors):
sensor.vrm_month_grid_energy_in / _out
sensor.vrm_year_grid_energy_in / _out
sensor.vrm_grid_to_battery_today
as well as all other "Today/Week/Month/Year" energy total sensors
What Was Changed (sensor.py)
The SensorStateClass was changed from TOTAL_INCREASING to TOTAL for all API-aggregated energy measurements:
Category | Sensors
-- | --
Overall Stats (Periods: today/week/month/year) | Solar Yield, Consumption, Grid Energy In/Out
Battery Additional Stats | Battery to Consumers Today, Battery to Grid Today
MultiPlus Additional Stats | Grid to Consumers Today, Grid to Battery Today
PV Inverter Additional Stats | PV to Consumers/Battery/Grid Today
Solar Charger | Yield Today, Yield Yesterday
PV Total Today (calculated sensor) | PV Total Today
Not Changed (real hardware counters that only increase correctly)
- Battery Charge Cycles
- PV Inverter L1/L2/L3 Energy (hardware registers)
✅ New Features
- Added Custom Card for your Dashboard (like victron gui-v2)
search for vrm card. The resource for the card should be set up automatically.
If you like the Integration, I would appreciate a Star rating ⭐ from you.
This helps the algorithm to boost the Integration. Thank you.