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

Netatmo micromodule not available #83404

Closed
SirScorpy opened this issue Dec 6, 2022 · 5 comments · Fixed by #85016
Closed

Netatmo micromodule not available #83404

SirScorpy opened this issue Dec 6, 2022 · 5 comments · Fixed by #85016
Assignees

Comments

@SirScorpy
Copy link

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
Copy link

home-assistant bot commented Dec 6, 2022

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
Copy link

+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
Copy link
Author

SirScorpy commented Dec 29, 2022

@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
Copy link

@SirScorpy , the answer is here :

#81973 (comment)

@SirScorpy
Copy link
Author

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

@cgtobi cgtobi mentioned this issue Jan 2, 2023
19 tasks
@github-actions github-actions bot locked and limited conversation to collaborators Feb 2, 2023
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.

3 participants