Skip to content

Negative value in Energy Dashboard from today_eq_Wh after integration was offline for a week #224

Description

@teo693

After keeping my Hoymiles inverter and the Home Assistant integration turned off for about a week, I turned it back on. Shortly after reconnecting (between 9:00 AM and 10:00 AM on April 28th), the integration caused a massive negative spike in the Home Assistant Energy Dashboard.

The entity Hoymiles Gateway solarH_1953200_today_eq_Wh reported a negative production of -831.86 kWh in a single hour block.

Looking at the history graph for this entity (attached), the sensor itself seemed to track the daily generation correctly right after coming back online, and it reset correctly at midnight. The issue seems to be strictly related to how the statistics/delta were calculated right at the moment of reconnection after a long downtime.

Image Image Image

Home Assistant Version: 2026.4.1
HoyMiles Solar Gateway stable Addon Version: 1.4.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions