Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions custom_components/hildebrandglow_dcc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""The Hildebrand Glow (DCC) integration."""

from __future__ import annotations

import logging
Expand Down
1 change: 1 addition & 0 deletions custom_components/hildebrandglow_dcc/config_flow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Config flow for Hildebrand Glow (DCC) integration."""

from __future__ import annotations

import logging
Expand Down
1 change: 1 addition & 0 deletions custom_components/hildebrandglow_dcc/sensor.py
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

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Platform for sensor integration."""

from __future__ import annotations

from collections.abc import Callable
Expand Down
Loading