Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Noniterable #408

Open
bucklevision opened this issue Jan 1, 2025 · 0 comments
Open

Noniterable #408

bucklevision opened this issue Jan 1, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@bucklevision
Copy link

Describe the bug
Lack of gas data for hours at a time while elec is fine and the Glow app shows gas data. Errors found in logs. This integration seems to work fine for days at a time, then keel over.
Screenshot_20250101_114237_Home Assistant

To Reproduce
Normal use.

Expected behaviour
No erros, gradual increase in gas use over day.

Debug log
Normal HA log, debug to follow.
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:960
First occurred: 01:33:36 (42 occurrences)
Last logged: 11:33:36

Update for sensor.dcc_sourced_smart_electricity_meter_usage_today fails
Update for sensor.dcc_sourced_smart_gas_meter_usage_today fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 960, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1318, in async_device_update
await self.async_update()
File "/config/custom_components/hildebrandglow_dcc/sensor.py", line 294, in async_update
(value, t_from) = await daily_data(self.hass, self.resource)
^^^^^^^^^^^^^^^
TypeError: cannot unpack non-iterable NoneType object

@bucklevision bucklevision added the bug Something isn't working label Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant