Closed Stephan-4711 closed 2 months ago
What are you trying to do exactly? Wat exactly did you setup using powercalc and how?
Powercalc is not purposed to do anything with solar panels.
I want to messure how many kwh my solar panels have produced. I thought this is an easy thing with powercalc, exxept of that error.
Powercalc group sensor can only handle positive values. No plans to support this use case, sorry.
You can easily achieve this with a standard template sensor summing all your solar panels.
Or are you not using group sensor and do you have a sensor in Watt you want to convert to kWh?
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
System Health details
Core 2024.3.2 Supervisor 2024.03.0 Operating System 12.1 Frontend 20240307.0
Checklist
Describe the issue
Logger: homeassistant.components.sensor.recorder Quelle: components/sensor/recorder.py:324 Integration: Sensor (Dokumentation, Probleme) Erstmals aufgetreten: 12:20:11 (1 Vorkommnisse) Zuletzt protokolliert: 12:20:11
Entity sensor.pv_messung_energy from integration powercalc has state class total_increasing, but its state is negative. Triggered by state -81.1451 with last_updated set to 2024-03-22T11:14:59.999999+00:00. Please create a bug report at https://github.com/bramstroker/homeassistant-powercalc/issues
Reproduction steps
...
Debug logs
Diagnostics dump or YAML config
No response