Anyone else having trouble the last few days with the Alarm.com component? I noticed a few days ago after a restart that I was getting an error for the component, but a couple restarts seemed to resolve it. However, today after restarting for another reason, Alarm.com dropped off again. I have done a few restarts, and can’t get it back this time. I confirmed that there are no pop-ups on the Alarm.com site, and my user is recorded as logging in correctly after each restart.
Here is the error from the logs:
2017-08-03 13:11:43 ERROR (MainThread) [homeassistant.components.alarm_control_panel] Error while setting up platform alarmdotcom
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/pyalarmdotcom/pyalarmdotcom.py", line 164, in async_login
self.state = tree.select(self.ALARM_STATE)[0].get_text()
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 164, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/lib/python3.4/asyncio/tasks.py", line 372, in wait_for
return fut.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/asyncio/tasks.py", line 235, in _step
result = coro.send(value)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/alarm_control_panel/alarmdotcom.py", line 42, in async_setup_platform
yield from alarmdotcom.async_login()
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/alarm_control_panel/alarmdotcom.py", line 68, in async_login
yield from self._alarm.async_login()
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/pyalarmdotcom/pyalarmdotcom.py", line 170, in async_login
'#{}'.format(self.ERROR_CONTROL))[0].attrs.get('value')
IndexError: list index out of range
I was thinking about opening an issue at the pyalarmdotcom git page, but figured I’d check here first.