Closed jjanderson closed 4 years ago
Hello, same problem here, since todays updates values are unknown. A restart also didn't work.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hi,
I installed via HACS.
I then added the following to my configuration.yaml
I am not however getting any readings.
I have checked the individual sensors and they are all pulling values through,
Debug log
2020-01-27 13:50:23 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback EventBus.async_listen_once..onetime_listener(<Event homeassistant_start[L]>) at /usr/src/homeassistant/homeassistant/core.py:644
Traceback (most recent call last):
File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, self._args)
File "/usr/src/homeassistant/homeassistant/core.py", line 656, in onetime_listener
self._hass.async_run_job(listener, event)
File "/usr/src/homeassistant/homeassistant/core.py", line 364, in async_run_job
target(args)
File "/config/custom_components/iaquk/init.py", line 137, in sensor_startup
sensor_state_listener(None, None, None) # Force first update
File "/config/custom_components/iaquk/init.py", line 123, in sensor_state_listener
self.update()
File "/config/customcomponents/iaquk/init.py", line 181, in update
index = self.getattribute('%s_index' % src)
File "/config/custom_components/iaquk/init.py", line 323, in _pm_index
for eid in entity_ids:
TypeError: 'NoneType' object is not iterable
2020-01-27 13:50:23 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback EventBus.async_listen_once..onetime_listener(<Event homeassistant_start[L]>) at /usr/src/homeassistant/homeassistant/core.py:644
Traceback (most recent call last):
File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, self._args)
File "/usr/src/homeassistant/homeassistant/core.py", line 656, in onetime_listener
self._hass.async_run_job(listener, event)
File "/usr/src/homeassistant/homeassistant/core.py", line 364, in async_run_job
target(args)
File "/config/custom_components/iaquk/init.py", line 137, in sensor_startup
sensor_state_listener(None, None, None) # Force first update
File "/config/custom_components/iaquk/init.py", line 123, in sensor_state_listener
self.update()
File "/config/customcomponents/iaquk/init.py", line 181, in update
index = self.getattribute('%s_index' % src)
File "/config/custom_components/iaquk/init.py", line 323, in _pm_index
for eid in entity_ids:
TypeError: 'NoneType' object is not iterable
2020-01-27 13:50:23 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback EventBus.async_listen_once..onetime_listener(<Event homeassistant_start[L]>) at /usr/src/homeassistant/homeassistant/core.py:644
Traceback (most recent call last):
File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, self._args)
File "/usr/src/homeassistant/homeassistant/core.py", line 656, in onetime_listener
self._hass.async_run_job(listener, event)
File "/usr/src/homeassistant/homeassistant/core.py", line 364, in async_run_job
target(args)
File "/config/custom_components/iaquk/init.py", line 137, in sensor_startup
sensor_state_listener(None, None, None) # Force first update
File "/config/custom_components/iaquk/init.py", line 123, in sensor_state_listener
self.update()
File "/config/customcomponents/iaquk/init.py", line 181, in update
index = self.getattribute('%s_index' % src)
File "/config/custom_components/iaquk/init.py", line 323, in _pm_index
for eid in entity_ids:
TypeError: 'NoneType' object is not iterable
2020-01-27 13:50:23 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback EventBus.async_listen_once..onetime_listener(<Event homeassistant_start[L]>) at /usr/src/homeassistant/homeassistant/core.py:644
Traceback (most recent call last):
File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, self._args)
File "/usr/src/homeassistant/homeassistant/core.py", line 656, in onetime_listener
self._hass.async_run_job(listener, event)
File "/usr/src/homeassistant/homeassistant/core.py", line 364, in async_run_job
target(args)
File "/config/custom_components/iaquk/init.py", line 137, in sensor_startup
sensor_state_listener(None, None, None) # Force first update
File "/config/custom_components/iaquk/init.py", line 123, in sensor_state_listener
self.update()
File "/config/customcomponents/iaquk/init.py", line 181, in update
index = self.getattribute('%s_index' % src)
File "/config/custom_components/iaquk/init.py", line 323, in _pm_index
for eid in entity_ids:
TypeError: 'NoneType' object is not iterable
2020-01-27 13:50:23 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback EventBus.async_listen_once..onetime_listener(<Event homeassistant_start[L]>) at /usr/src/homeassistant/homeassistant/core.py:644
Traceback (most recent call last):
File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, self._args)
File "/usr/src/homeassistant/homeassistant/core.py", line 656, in onetime_listener
self._hass.async_run_job(listener, event)
File "/usr/src/homeassistant/homeassistant/core.py", line 364, in async_run_job
target(args)
File "/config/custom_components/iaquk/init.py", line 137, in sensor_startup
sensor_state_listener(None, None, None) # Force first update
File "/config/custom_components/iaquk/init.py", line 123, in sensor_state_listener
self.update()
File "/config/customcomponents/iaquk/init.py", line 181, in update
index = self.getattribute('%s_index' % src)
File "/config/custom_components/iaquk/init.py", line 323, in _pm_index
for eid in entity_ids:
TypeError: 'NoneType' object is not iterable