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'

Traceback (most recent call last):


 "C:\Users\Daniel\Documents\Spyder\spyder\spyder\plugins\completion\providers\kite\widgets\calltoaction.py", line 135, in _learn_more

kite = self.parent().completions.get_client('kite')
AttributeError: 'CompletionPlugin' object has no attribute 'get_client'
