Open leviowen opened 5 days ago
me too.
I've had different issues and have 'hack'ed' my own version of sensor.py with bits from different peoples forks and some of my own stuff - I'm not a programer, so try it at your own risk, but this works just fine for me.
Note. I've added a fair few bits to _LOGGER.warning as I like the detail in my HA logs, if you don't then just change some of them to _LOGGER.debug(
Use the file editor addon for HA and edit /homeassistant/custom_components/hildebrandglow_dcc/sensor.py
had to drop into a txt file to allow upload.
Here is what my logs look like with my edited/hacked senory.py
Describe the bug
This error originated from a custom integration.
Logger: custom_components.hildebrandglow_dcc.sensor Source: custom_components/hildebrandglow_dcc/sensor.py:183 integration: Hildebrand Glow (DCC) (documentation, issues) First occurred: November 24, 2024 at 1:33:44 AM (78 occurrences) Last logged: 8:33:43 AM
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 183, in daily_data return readings[0][1].value