StephanJoubert / home_assistant_solarman

Home Assistant component for Solarman collectors used with a variety of inverters.
Apache License 2.0
512 stars 191 forks source link

Home Assistant reports problem with state class #39

Closed dagwud closed 2 years ago

dagwud commented 2 years ago

Thanks for this fantastic integration - soo nice having nearer real time data!

From logs:


Logger: homeassistant.components.sensor.recorder
Source: components/sensor/recorder.py:312 
Integration: Sensor ([documentation](https://www.home-assistant.io/integrations/sensor), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+sensor%22)) 
First occurred: 12:25:10 AM (1 occurrences) 
Last logged: 12:25:10 AM

Entity sensor.inverter_total_grid_production from integration solarman has state class total_increasing, but its state is not strictly increasing. Triggered by state 5148.2 (5148.6) with last_updated set to 2022-04-11T22:23:29.807720+00:00. Please report it to the custom component author.
StephanJoubert commented 2 years ago

@dagwud Thanks for that. The parameter should be increasing only, but I will have a look and see if it happens on my side as well.

dagwud commented 2 years ago

Yeah it didn’t make much sense to me either that total grid production could decrease.

If there’s any more info I can provide just shout