Skip to content

Conversation

deepsource-autofix[bot]
Copy link
Contributor

This commit fixes the style issues introduced in 04bda56 according to the output
from Black and isort.

Details: None

This commit fixes the style issues introduced in 04bda56 according to the output
from Black and isort.

Details: None
Copy link

@AndrewKemp-1 AndrewKemp-1 Jun 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 302 reads "_attr_state_class = SensorStateClass.TOTAL_INCREASING"
where is should read
"_attr_state_class = SensorStateClass.TOTAL"

from HA Core Log: (xx_xxxxxxxx_xxxxx_ = redacted)
2025-06-22 21:10:40.940 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.xx_xxxxxxxx_xxxxx_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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant