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

"impk: Error on device update!" #3

Closed
sliwma opened this issue Jan 23, 2022 · 1 comment
Closed

"impk: Error on device update!" #3

sliwma opened this issue Jan 23, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@sliwma
Copy link

sliwma commented Jan 23, 2022

Hey, the integration stopped working, except for information (binary sensor):

Logger: homeassistant.components.sensor
Source: custom_components/impk/sensor.py:188
Integration: Sensor (documentation, issues)
First occurred: 17:26:47 (16 occurrences)
Last logged: 17:26:53

impk: Error on device update!
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 431, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 684, in async_device_update
    await task
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/impk/sensor.py", line 107, in update
    delays = IMPKSensor.get_delays(courses, positions)
  File "/config/custom_components/impk/sensor.py", line 188, in get_delays
    for position in positions:
TypeError: 'NoneType' object is not iterable
@PiotrMachowski PiotrMachowski self-assigned this Jan 23, 2022
@PiotrMachowski PiotrMachowski added the bug Something isn't working label Jan 23, 2022
@PiotrMachowski
Copy link
Owner

It should be fixed in v1.1.5

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

2 participants