dotKrad / hass-fpl

FPL Component for Home Assistant
MIT License
40 stars 20 forks source link

Minor - Setting last_reset for entities with state_class other than 'total' is not supported. #42

Open bcjmk opened 1 year ago

bcjmk commented 1 year ago

From home-assistant.log after restart of HA

2023-07-09 11:53:01.799 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.fpl_5575977268_daily_usage_kwh (<class 'custom_components.fpl.sensor_DailyUsageSensor.FplDailyUsageKWHSensor'>) 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.

Version of the custom_component

version 0.0.1

Configuration


Add your logs here.

Describe the bug

Still seems to be collecting data, my problem now is getting the data to report on the Energy Dashboard