Closed Lemocin closed 3 years ago
Hi, sorry for the late response! I've just tested your work and seems fine, I will merge this Thanks for your work!
Hi @Lemocin , is it possible to change the code again for last reset ? we have error below
I prefer to use daily energy to update the energy dashboard, cause its with decimals... The total energy doesnt update that frequently, especially on winter period
thx
2023-01-10 09:18:05.021 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.kostal_piko_daily_energy (<class 'custom_components.kostal.sensor.PikoSensor'>) with state_class total_increasing has set last_reset. Setting last_reset for entities with state_class other than 'total' is not supported. Please update your configuration if state_class is manually configured, otherwise report it to the custom integration author.
Hey, sorry I have been busy this week. I no longer have access to a Kostal Pico Inverter because my friend who had it moved away. I might be able to look into it later but you would have to test it yourself.
Are there any other log entries @pergolafabio ? Because that one is just a warning
Hi, no problem, already found another component :-)
This component was not compatible with the up-to-date Home Assistant versions. I added the version in the manifest file which closes #1. I also made the component much faster by only making one http request for all sensors instead of one request per sensor.