ha-emporia-vue icon indicating copy to clipboard operation
ha-emporia-vue copied to clipboard

Warning: Setting last_reset for entities with state_class other than 'total' is not supported.

Open pjkerly opened this issue 1 year ago • 4 comments

After installing core-2022.7.4

Logger: homeassistant.components.sensor Source: components/sensor/init.py:334 Integration: Sensor (documentation, issues) First occurred: 12:41:05 PM (36 occurrences) Last logged: 12:41:05 PM

Entity sensor.office_13_1d (<class 'custom_components.emporia_vue.sensor.CurrentVuePowerSensor'>) 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 component author. Entity sensor.oven_14_1d (<class 'custom_components.emporia_vue.sensor.CurrentVuePowerSensor'>) 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 component author. Entity sensor.ac_handler_15_1d (<class 'custom_components.emporia_vue.sensor.CurrentVuePowerSensor'>) 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 component author. Entity sensor.ac_compressor_16_1d (<class 'custom_components.emporia_vue.sensor.CurrentVuePowerSensor'>) 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 component author. Entity sensor.home_energy_monitor_balance_1d (<class 'custom_components.emporia_vue.sensor.CurrentVuePowerSensor'>) 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 component author.

pjkerly avatar Jul 14 '22 16:07 pjkerly

This appears to still be happening in hass 2022.9.1 and emporia v0.7.3

Logger: homeassistant.components.sensor
Source: components/sensor/__init__.py:334
Integration: Sensor (documentation, issues)
First occurred: 11:17:06 AM (2 occurrences)
Last logged: 11:17:06 AM

Entity sensor.home_123_1mon (<class 'custom_components.emporia_vue.sensor.CurrentVuePowerSensor'>) 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.
Entity sensor.home_123_1d (<class 'custom_components.emporia_vue.sensor.CurrentVuePowerSensor'>) 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.

chilicheech avatar Sep 09 '22 20:09 chilicheech

This is fixed in the current pre-release builds and will be in the next main release when I'm able to finally get that out.

magico13 avatar Sep 09 '22 20:09 magico13

@magico13 cool, cool.. thanks for your work. any rough estimate of when there might be a new release? cheers..

chilicheech avatar Sep 09 '22 22:09 chilicheech

The pre-release is available now if you enable beta releases in HACS. There are a few things I'm still testing to try to fix some inconsistencies with the API so I'm not sure if I'm gonna release it as-is soon or try to fix those first.

magico13 avatar Sep 09 '22 22:09 magico13