Traceback (most recent call last):

 "test.py", line 13, in <module>
class Extension(BaseModel):

 "/Library/Python/2.7/site-packages/peewee.py", line 2990, in __new__
cls._meta.prepared()

 "/Library/Python/2.7/site-packages/peewee.py", line 2861, in prepared
field = self.fields[clause.lstrip('-')]AttributeError: 'DateTimeField' object has no attribute 'lstrip'
Traceback (most recent call last):


 "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity.py", line 225, in async_update_ha_state

None, self.update)


 "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__

yield self
# This tells Task to wait for completion.


 "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup

value = future.result()


 "/usr/lib/python3.4/asyncio/futures.py", line 277, in result

raise self._exception


 "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/local/lib/python3.4/dist-packages/homeassistant/components/sensor/openweathermap.py", line 124, in update

self.owa_client.update()


 "/usr/local/lib/python3.4/dist-packages/homeassistant/util/__init__.py", line 303, in wrapper

result = method(*args, **kwargs)


 "/usr/local/lib/python3.4/dist-packages/homeassistant/components/sensor/openweathermap.py", line 181, in update

obs = self.owm.weather_at_coords(self.latitude, self.longitude)


 "/root/.homeassistant/deps/pyowm/webapi25/owm25.py", line 248, in weather_at_coords

return self._parsers['observation'].parse_JSON(json_data)


 "/root/.homeassistant/deps/pyowm/webapi25/observationparser.py", line 39, in parse_JSON

d = loads(JSON_string)


 "/usr/lib/python3.4/json/__init__.py", line 312, in loads

s.__class__.__name__))
TypeError: the JSON object must be str, not 'NoneType'
