Traceback (most recent call last):


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 322, in _async_add_entity

await entity.async_device_update(warning=False)


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 470, in async_device_update

await self.async_update()


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/volkszaehler/sensor.py", line 120, in async_update

self._state = round(getattr(self.vz_api.api, self.type), 2)
TypeError: type NoneType doesn't define __round__ method

Traceback (most recent call last):


 "/usr/lib64/python2.6/atexit.py", line 24, in _run_exitfuncs

func(*targs, **kargs)


 "/usr/lib/python2.6/site-packages/paramiko/transport.py", line 81, in _join_lingering_threads

for thr in _active_threads:
TypeError: 'NoneType' object is not iterable
