home_assistant_solarman
home_assistant_solarman copied to clipboard
Reset daily production at midnight
Running and monitoring a Deye Sun M80 works fine overall, thanks for your work! Since it disconnects at night, the daily production counter does not reset at midnight and the old value stays in Home Assistant. When the inverter starts the next day, resets the daily production counter, Home Assistant counts a negative solar production by the value of yesterdays production. Is it possible to reset this counter at midnight? I'm afraid I don't know how to do it myself or to contribute to your code.