Open MarkRocketman opened 3 months ago
custom_components/hildebrandglow_dcc/sensor.py
Line 288 , change _attr_state_class = SensorStateClass.TOTAL_INCREASE
to
attr_state_class = SensorStateClass.TOTAL
@krzysnaw Many thanks for posting the work around to this issue
Just to note that it was row 293 in my sensor file (version 1.0.3) .. no idea why as it was unchanged.
Describe the bug Entity sensor.dcc_sourced_smart_electricity_meter_cost_today (<class 'custom_components.hildebrandglow_dcc.sensor.Cost'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/HandyHat/ha-hildebrandglow-dcc/issues Entity sensor.dcc_sourced_smart_gas_meter_cost_today (<class 'custom_components.hildebrandglow_dcc.sensor.Cost'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/HandyHat/ha-hildebrandglow-dcc/issues
Version 4.1.0