core: Soma integration is not working
Home Assistant release with the issue: 0.100.1
Last working Home Assistant release (if known): N/A
Operating environment (Hass.io/Docker/Windows/etc.): Hass.io
Integration: https://www.home-assistant.io/integrations/soma/
Description of problem: I tried to use the new soma integration as described in the documentation and it’s not working.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
soma:
host: !secret integration_soma_host
port: 3000
Traceback (if applicable):
2019-10-10 22:20:04 ERROR (MainThread) [homeassistant.components.cover] soma: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 292, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 446, in async_device_update
await self.async_update()
File "/usr/src/homeassistant/homeassistant/components/soma/__init__.py", line 106, in async_update
if response["result"] != "success":
KeyError: 'result'
Additional information: Soma connect is correctly setup, I control it from homeassistant using the homekit integration and from alexa without any issues.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 26 (12 by maintainers)
I have added version info to all API responses now and also a PR is pending for detecting the missing key and notifying the user. If we change the API again for some reason I can add a version check to Home Assistant as well.
I will let you know as soon as the new image is up. Thank you for your patience and sorry for this.