Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state

await self.async_device_update()


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 472, in async_device_update

await self.hass.async_add_executor_job(self.update)


 "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run

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


 "/usr/src/homeassistant/homeassistant/components/netatmo/camera.py", line 212, in update

self._data.update()


 "/usr/src/homeassistant/homeassistant/util/__init__.py", line 240, in wrapper

result = method(*args, **kwargs)


 "/usr/src/homeassistant/homeassistant/components/netatmo/camera.py", line 261, in update

self.camera_data = pyatmo.CameraData(self.auth, size=100)


 "/usr/local/lib/python3.7/site-packages/pyatmo/camera.py", line 30, in __init__

resp = self.authData.post_request(url=_GETHOMEDATA_REQ, params=postParams)


 "/usr/local/lib/python3.7/site-packages/pyatmo/auth.py", line 168, in post_request

if "application/json" in resp.headers.get("content-type")
AttributeError: 'NoneType' object has no attribute 'headers'

Traceback (most recent call last):


 "/Users/<username>/.virtualenvs/<virtualenv>/bin/pip-compile", line 11, in <module>

sys.exit(cli())


 "/Users/<username>/.virtualenvs/<virtualenv>/lib/python2.7/site-packages/click/core.py", line 722, in __call__

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


 "/Users/<username>/.virtualenvs/<virtualenv>/lib/python2.7/site-packages/click/core.py", line 697, in main

rv = self.invoke(ctx)


 "/Users/<username>/.virtualenvs/<virtualenv>/lib/python2.7/site-packages/click/core.py", line 895, in invoke

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


 "/Users/<username>/.virtualenvs/<virtualenv>/lib/python2.7/site-packages/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/Users/<username>/.virtualenvs/<virtualenv>/lib/python2.7/site-packages/piptools/scripts/compile.py", line 131, in cli

key = key_from_req(ireq.req)


 "/Users/<username>/.virtualenvs/<virtualenv>/lib/python2.7/site-packages/piptools/utils.py", line 41, in key_from_req

key = req.name
AttributeError: 'NoneType' object has no attribute 'name'
