You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
17-04-11 10:17:54 ERROR (MainThread) [homeassistant.components.alarm_control_panel] Error while setting up platform alarmdotcom
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/pyalarmdotcom/pyalarmdotcom.py", line 120, in async_login
response.url).groupdict()['sessionKey'],
TypeError: expected string or bytes-like object
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity_component.py", line 148, in _async_setup_platform
entity_platform.async_schedule_add_entities, discovery_info
File "/usr/src/app/homeassistant/components/alarm_control_panel/alarmdotcom.py", line 43, in async_setup_platform
yield from alarmdotcom.async_login()
File "/usr/src/app/homeassistant/components/alarm_control_panel/alarmdotcom.py", line 69, in async_login
yield from self._alarm.async_login()
File "/usr/local/lib/python3.5/site-packages/pyalarmdotcom/pyalarmdotcom.py", line 132, in async_login
except (asyncio.TimeoutError, aiohttp.errors.ClientError):
AttributeError: module 'aiohttp' has no attribute 'errors'
Yeah, I was able to hack a fix for it by upgrading pyalarmdotcom in the container (something like docker exec -t -i {your container} pip install --target /config/deps --upgrade pyalarmdotcom and then restart your container, if anyone else wants to hack theirs until it's properly fixed)
Home Assistant release (
hass --version
):Docker container homeassistant/home-assistant:0.42.2
Python release (
python3 --version
):Python 3.5.3
Component/platform:
alarm_control_panel.alarmdotcom
Description of problem:
Alarm.com component fails during setup.
Expected:
Alarm.com component doesn't fail during setup.
Problem-relevant
configuration.yaml
entries and steps to reproduce:Traceback (if applicable):
Additional info:
This worked fine with the 0.41 container, and apparently still does since someone else said they'd rolled back and it fixed it. I haven't rolled back because I want the shiny new Ring stuff. Forum discussion here: https://community.home-assistant.io/t/alarm-com-broken-since-upgrade-to-0-42/15346
The text was updated successfully, but these errors were encountered: