core: freebox : Can't reconfigure freebox
The problem
Following this bug report : https://github.com/home-assistant/core/issues/38695#issuecomment-719424439 I deleted my freebox config to add it up again to test if the fix was working as expected, but I can’t make it work again.
This is what I did:
- Removed integration from the GUI
- Shutdown HA
- Removed the freebox folder in .storage
- Restarted HA
- Notified that the freebox integration was waiting to be configured
- Configured it like the previous time, confirmed/accepted the connection on the freebox panel
- Then nothing 😃
Here is what I get now when it starts or just after pairing:
2020-12-01 13:43:07 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry *******.fbxos.fr for freebox
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 236, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/usr/src/homeassistant/homeassistant/components/freebox/__init__.py", line 65, in async_setup_entry
await router.setup()
File "/usr/src/homeassistant/homeassistant/components/freebox/router.py", line 75, in setup
await self.update_all()
File "/usr/src/homeassistant/homeassistant/components/freebox/router.py", line 82, in update_all
await self.update_sensors()
File "/usr/src/homeassistant/homeassistant/components/freebox/router.py", line 123, in update_sensors
self.sensors_temperature[sensor["name"]] = sensor["value"]
KeyError: 'value'
Here is what I tried so far after encountering the issue:
- I tried to remove authorizations from the freebox OS interface, or to check all rights but to no effect.
- Connexions entrantes is configured correctly
- Gestion des accès / Applications appears correctly after configuration in HA, tried to check all rights
- Tried to remove it again, and pair it again
Environment
- Home Assistant 0.118.4 running on Docker (on Synology but doesn’t change much)
- Integration causing this issue: freebox
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/freebox
Problem-relevant configuration.yaml
Done via GUI no yaml configuration related
Traceback/Error logs
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 236, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/usr/src/homeassistant/homeassistant/components/freebox/__init__.py", line 65, in async_setup_entry
await router.setup()
File "/usr/src/homeassistant/homeassistant/components/freebox/router.py", line 75, in setup
await self.update_all()
File "/usr/src/homeassistant/homeassistant/components/freebox/router.py", line 82, in update_all
await self.update_sensors()
File "/usr/src/homeassistant/homeassistant/components/freebox/router.py", line 123, in update_sensors
self.sensors_temperature[sensor["name"]] = sensor["value"]
KeyError: 'value'
Additional information
Putting info displayed in /api_version
{
"box_model_name": "Freebox v7 (r1)",
"api_base_url": "/api/",
"https_port": 26710,
"device_name": "Freebox Server",
"https_available": true,
"box_model": "fbxgw7-r1/full",
"api_domain": "**********.fbxos.fr",
"uid": "*****************",
"api_version": "8.0",
"device_type": "FreeboxServer7,1"
}
Happy to help/try anything if you have any idea, thanks!
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 20 (4 by maintainers)
Hi, The issue is still there. It seems the fix is not integrated in the last release. Regards
I have implemented a fix in the freebox/home branch. It will be integrated soon