Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/usr/lib/python2.7/site-packages/hyperopt/fmin.py", line 314, in fmin

pass_expr_memo_ctrl=pass_expr_memo_ctrl)


 "/usr/lib/python2.7/site-packages/hyperopt/base.py", line 786, in __init__

pyll.toposort(self.expr)


 "/usr/lib/python2.7/site-packages/hyperopt/pyll/base.py", line 715, in toposort

assert order[-1] == expr
TypeError: 'generator' object has no attribute '__getitem__'

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
