Alarm.com (alarmdotcom) component not working

Home Assistant
0.47.1

Path to configuration.yaml: /Users/cwick/.homeassistant

Developed by a bunch of awesome people.

Published under the Apache 2.0 license
Source: server — frontend-ui

Built using Python 3, Polymer 1.8.1, Icons by Google and MaterialDesignIcons.com.

The following errors have been logged this session:

2017-06-29 16:44:41 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.
2017-06-29 16:44:41 WARNING (MainThread) [homeassistant.setup] Setup of alarm_control_panel is taking over 10 seconds.
2017-06-29 16:44:41 WARNING (MainThread) [homeassistant.setup] Setup of media_player is taking over 10 seconds.
2017-06-29 16:44:42 WARNING (MainThread) [homeassistant.setup] Setup of device_tracker is taking over 10 seconds.
2017-06-29 16:44:42 WARNING (MainThread) [homeassistant.setup] Setup of remote is taking over 10 seconds.
2017-06-29 16:44:45 WARNING (MainThread) [homeassistant.setup] Setup of tts is taking over 10 seconds.
2017-06-29 16:44:53 ERROR (MainThread) [pyalarmdotcom.pyalarmdotcom] Can not get login page from Alarm.com
2017-06-29 16:44:53 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/tasks.py", line 179, in _step
    result = coro.send(None)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 368, in async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 225, in async_add_entity
    yield from entity.async_update_ha_state()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 238, in async_update_ha_state
    state = self.state
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/homeassistant/components/alarm_control_panel/alarmdotcom.py", line 89, in state
    if self._alarm.state.lower() == 'disarmed':
AttributeError: 'NoneType' object has no attribute 'lower'

Having the exact same issue. You have any luck resolving it?

@teknic90 Nope. I’ve tried updating the pyalarmdotcom package, I’ve completely uninstalled and reinstalled Home Assistant (kept yaml config files). Nothing seems to work.

@fabaff would be better able to assist with this issue

@fabaff are you able to provide any assistance to myself and @teknic90? I’ve exhausted my resources for trying to resolve it. It really is a pain because i have my house setup to auto arm/dismarm based on user locations.

@fabaff are you able to provide any information on how to resolve this issue?

The integration is based on a grabber and it could be that Alarm.com changed something.

What you could do is output the result from def async_update(self): in the alarmdotcom.py file.