Errors in HA on binary_sensor state change

Here is the error log. Using the Manual alarm panel in HA. No clue what is going on but seems to be a bug/error getting thrown when the state of the binary_sensor changes when the alarm state is armed_away. To say it another way HA knows that the alarm panel condition is met and then throws this error when the binary_sensor (a door) is switched to 'on'.


Error handling request

 

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 385, in start
    resp = await self._request_handler(request)
  File "/usr/lib/python3.6/site-packages/aiohttp/web_app.py", line 338, in _handle
    resp = await handler(request)
  File "/usr/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 88, in impl
    return await handler(request)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/http/static.py", line 68, in staticresource_middleware
    return await handler(request)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py", line 27, in real_ip_middleware
    return await handler(request)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 68, in ban_middleware
    return await handler(request)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/http/auth.py", line 54, in auth_middleware
    return await handler(request)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/http/view.py", line 98, in handle
    result = await result
  File "/usr/lib/python3.6/site-packages/homeassistant/components/konnected.py", line 301, in put
    device = data[CONF_DEVICES].get(device_id)
KeyError: 'devices'