Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point integration lacks support for multiple devices #18956

Closed
gnaeser opened this issue Dec 3, 2018 · 0 comments · Fixed by #18959
Closed

Point integration lacks support for multiple devices #18956

gnaeser opened this issue Dec 3, 2018 · 0 comments · Fixed by #18959

Comments

@gnaeser
Copy link

gnaeser commented Dec 3, 2018

Home Assistant release with the issue:

0.83.2

Last working Home Assistant release (if known):
Has never worked.

Operating environment (Hass.io/Docker/Windows/etc.):

General

Component/platform:

Minut Point

Description of problem:
Only the first Point in the user's Minut account will be added through the integration (the one first in the list returned when querying https://api.minut.com/draft1/devices).

Traceback (if applicable):

2018-12-03 03:23:58 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry [email protected] for sensor
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/config_entries.py", line 248, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/__init__.py", line 48, in async_setup_entry
    return await hass.data[DOMAIN].async_setup_entry(entry)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 134, in async_setup_entry
    raise ValueError('Config entry has already been setup!')
ValueError: Config entry has already been setup!

The above will be logged once for sensor, as shown, and once for binary_sensor for each Point not added. If you have three points the log will contain two errors for sensors and two for binary_sensors.

fredrike added a commit to fredrike/home-assistant that referenced this issue Dec 3, 2018
@ghost ghost added the in progress label Dec 3, 2018
@ghost ghost removed the in progress label Dec 3, 2018
balloob pushed a commit that referenced this issue Dec 3, 2018
* fix for multiple devices closes, #18956

* Point API finally supports "all" events
@home-assistant home-assistant locked and limited conversation to collaborators Mar 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants