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.61k stars 30.77k forks source link

[freebox] - Error setting up entry - Freebox Pop v8 #97693

Closed cyr-ius closed 1 year ago

cyr-ius commented 1 year ago

The problem

Just after update to 2023.8.0 Freebox integration error - Error setting up entry mafreebox.freebox.fr for freebox

My freebox is a Freebox POP : Freebox v8 (r1) Freebox OS : 4.7.8

What version of Home Assistant Core has the issue?

core-2023.8.0

What was the last working version of Home Assistant Core?

core-2023.7.3

What type of installation are you running?

Home Assistant Container

Integration causing the issue

freebox

Link to integration documentation on our website

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

Diagnostics information

2023-08-03 16:09:52.280 INFO (MainThread) [freebox_api.aiofreepybox] Read application authorization file 2023-08-03 16:09:52.321 INFO (MainThread) [freebox_api.access] Session opened 2023-08-03 16:09:52.321 INFO (MainThread) [freebox_api.access] Permissions: {'parental': True, 'contacts': True, 'explorer': False, 'tv': True, 'wdo': True, 'camera': False, 'profile': True, 'downloader': False, 'settings': True, 'calls': True, 'home': False, 'pvr': False, 'vm': False, 'player': True} 2023-08-03 16:09:52.611 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry mafreebox.freebox.fr for freebox Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 388, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/freebox/init.py", line 60, in async_setup_entry await router.update_all() File "/usr/src/homeassistant/homeassistant/components/freebox/router.py", line 86, in update_all await self.update_sensors() File "/usr/src/homeassistant/homeassistant/components/freebox/router.py", line 149, in update_sensors await self._update_raids_sensors() File "/usr/src/homeassistant/homeassistant/components/freebox/router.py", line 164, in _update_raids_sensors fbx_raids: list[dict[str, Any]] = await self._api.storage.get_raids() or [] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/freebox_api/api/storage.py", line 85, in get_raids return await self._access.get("storage/raid/") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/freebox_api/access.py", line 122, in get return await self._perform_request(self.session.get, end_url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/freebox_api/access.py", line 114, in _perform_request raise HttpRequestError(err_msg) freebox_api.exceptions.HttpRequestError: Request failed (APIResponse: {"msg": "Erreur interne", "success": false, "error_code": "internal_error"}) 2023-08-03 16:09:52.618 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session 2023-08-03 16:09:52.619 ERROR (MainThread) [homeassistant] Error doing job: Unclosed connector

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 @hacf-fr, @quentame, mind taking a look at this issue as it has been labeled with an integration (freebox) you are listed as a code owner for? Thanks!

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

(message by CodeOwnersMention)


freebox documentation freebox source (message by IssueLinks)

Pierrodu21 commented 1 year ago

I think it's the same issue than #97652

cyr-ius commented 1 year ago

I think it's the same issue than #97652 I close because it's same issue I just submitted a fix via a PR