home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.75k stars 30.86k forks source link

Netatmo micromodule not available #83404

Closed SirScorpy closed 1 year ago

SirScorpy commented 1 year ago

The problem

Since upgraded HA to latest version (2022.11.05) the micromodules dont show anymore on integration.

From debug log I dont see any error related it and neither the micromodules are shown there (everything shows, less the micromodules)

Updated from 2022.11.5 to 2022.12.0b5 but it persists.

On diagnostics the all ID of devices appears, seems the ones with NLM type (micromodules), dont show as device.

What version of Home Assistant Core has the issue?

2022.12.0b5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Netatmo

Link to integration documentation on our website

https://www.home-assistant.io/integrations/netatmo

Diagnostics information

config_entry-netatmo-a7a3065609cea764eade01a274fd24c4.json.txt

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 year ago

Hey there @cgtobi, mind taking a look at this issue as it has been labeled with an integration (netatmo) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `netatmo` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Change the title of the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign netatmo` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


netatmo documentation netatmo source (message by IssueLinks)

lprassanna commented 1 year ago

+1 on this issue,

with Legrand Home+ Control integration, i can see my "NLM Micromodule switch"(es), that i don't see anymore with Netatmo integration

SirScorpy commented 1 year ago

@cgtobi Is any way that we can mitigate this issue in order to discover the NLM types? Or any ETA to the fix? :) Issue still persists even with version 2023.1.0b1

Now when I try to reload the Netatmo integration I have the following error:

2022-12-28 21:42:41.722 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Home Assistant Cloud for camera Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup result = await component.async_setup_entry(hass, self) File "/usr/src/homeassistant/homeassistant/components/camera/init.py", line 409, in async_setup_entry return await component.async_setup_entry(entry) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 166, in async_setup_entry raise ValueError("Config entry has already been setup!") ValueError: Config entry has already been setup! 2022-12-28 21:42:41.729 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Home Assistant Cloud for climate Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup result = await component.async_setup_entry(hass, self) File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 195, in async_setup_entry return await component.async_setup_entry(entry) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 166, in async_setup_entry raise ValueError("Config entry has already been setup!") ValueError: Config entry has already been setup! 2022-12-28 21:42:41.734 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Home Assistant Cloud for cover Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup result = await component.async_setup_entry(hass, self) File "/usr/src/homeassistant/homeassistant/components/cover/init.py", line 208, in async_setup_entry return await component.async_setup_entry(entry) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 166, in async_setup_entry raise ValueError("Config entry has already been setup!") ValueError: Config entry has already been setup! 2022-12-28 21:42:41.739 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Home Assistant Cloud for light Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup result = await component.async_setup_entry(hass, self) File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 618, in async_setup_entry return await component.async_setup_entry(entry) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 166, in async_setup_entry raise ValueError("Config entry has already been setup!") ValueError: Config entry has already been setup! 2022-12-28 21:42:41.745 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Home Assistant Cloud for select Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup result = await component.async_setup_entry(hass, self) File "/usr/src/homeassistant/homeassistant/components/select/init.py", line 62, in async_setup_entry return await component.async_setup_entry(entry) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 166, in async_setup_entry raise ValueError("Config entry has already been setup!") ValueError: Config entry has already been setup! 2022-12-28 21:42:41.750 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Home Assistant Cloud for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup result = await component.async_setup_entry(hass, self) File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 565, in async_setup_entry return await component.async_setup_entry(entry) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 166, in async_setup_entry raise ValueError("Config entry has already been setup!") ValueError: Config entry has already been setup! 2022-12-28 21:42:41.755 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Home Assistant Cloud for switch Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup result = await component.async_setup_entry(hass, self) File "/usr/src/homeassistant/homeassistant/components/switch/init.py", line 83, in async_setup_entry return await component.async_setup_entry(entry) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 166, in async_setup_entry raise ValueError("Config entry has already been setup!") ValueError: Config entry has already been setup! 2022-12-28 21:42:43.198 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Home Assistant Cloud for netatmo Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup result = await component.async_setup_entry(hass, self) File "/usr/src/homeassistant/homeassistant/components/netatmo/init.py", line 239, in async_setup_entry await register_webhook(None) File "/usr/src/homeassistant/homeassistant/components/netatmo/init.py", line 195, in register_webhook webhook_url = webhook_generate_url(hass, entry.data[CONF_WEBHOOK_ID]) File "/usr/src/homeassistant/homeassistant/components/webhook/init.py", line 75, in async_generate_url get_url(hass, prefer_external=True, allow_cloud=False), File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 201, in get_url raise NoURLAvailableError homeassistant.helpers.network.NoURLAvailableError

It just stops giving error if I reboot the HA.

lprassanna commented 1 year ago

@SirScorpy , the answer is here :

https://github.com/home-assistant/core/issues/81973#issuecomment-1366203248

SirScorpy commented 1 year ago

I have seen it later then, thanks anyway, And as expected, working like a charm :)