Traceback (most recent call last):


 "/application/kubewatch.py", line 493, in &lt;module&gt;

main()


 "/usr/lib/python3.6/site-packages/click/core.py", line 722, in __call__

return self.main(*args, **kwargs)


 "/usr/lib/python3.6/site-packages/click/core.py", line 697, in main

rv = self.invoke(ctx)


 "/usr/lib/python3.6/site-packages/click/core.py", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/usr/lib/python3.6/site-packages/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/application/kubewatch.py", line 476, in main

sync(restarter)


 "/application/kubewatch.py", line 373, in sync

restarter.restart()


 "/application/kubewatch.py", line 118, in restart

config = self.generate_config(output)


 "/application/kubewatch.py", line 151, in generate_config

aconf = Config(output)


 "/usr/lib/python3.6/site-packages/ambassador-0.34.1-py3.6.egg/ambassador/config.py", line 336, in __init__


 "/usr/lib/python3.6/site-packages/ambassador-0.34.1-py3.6.egg/ambassador/config.py", line 414, in process_all_objects
AttributeError: 'NoneType' object has no attribute 'get'

Traceback (most recent call last):


 "uvloop/cbhandles.pyx", line 64, in uvloop.loop.Handle._run


 "/usr/src/app/homeassistant/helpers/event.py", line 82, in state_change_listener

event.data.get('new_state'))


 "/usr/src/app/homeassistant/core.py", line 333, in async_run_job

target(*args)


 "/usr/src/app/homeassistant/components/utility_meter/sensor.py", line 94, in async_reading

old_state.state in [STATE_UNKNOWN, STATE_UNAVAILABLE],
AttributeError: 'NoneType' object has no attribute 'state'
