-
-
Notifications
You must be signed in to change notification settings - Fork 55
Description
Describe the bug
I am seing a daily gas cost of 31p soon after midnight and then it changes to 63p
I am currently away and my gas valve is shut off
To Reproduce
Steps to reproduce the behaviour:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behaviour
I expect the cost to track accurately
Screenshots
If applicable, add screenshots to help explain your problem.
Version
Latest
Debug log
This error originated from a custom integration.
Logger: custom_components.hildebrandglow_dcc.sensor
Source: custom_components/hildebrandglow_dcc/sensor.py:185
integration: Hildebrand Glow (DCC) (documentation, issues)
First occurred: 24 July 2025 at 01:32:20 (14 occurrences)
Last logged: 29 July 2025 at 01:32:22
Unexpected exception: list index out of range. Please open an issue
Traceback (most recent call last):
File "/config/custom_components/hildebrandglow_dcc/sensor.py", line 185, in daily_data
v = readings[0][1].value
~~~~~~~~^^^
IndexError: list index out of range
Additional context
Add any other context about the problem here.