core: Netatmo integration not working on 0.114.4
The problem
Hello everyone, I’m using home assistant 0.114.4 and i successfully configure netatmo via configuration.yml but i can not see my thermostat. I checked the log and i have this:
Environment
Home Assistant 0.114.4
- Home Assistant Core release with the issue:
- Last working Home Assistant Core release (if known):
- Operating environment (OS/Container/Supervised/Core):
- Integration causing this issue:
- Link to integration documentation on our website:
Problem-relevant configuration.yaml
netatmo: client_id: <client id> client_secret: <client secret>
Traceback/Error logs
Logger: homeassistant.config_entries Source: deps/lib/python3.7/site-packages/requests_oauthlib/oauth2_session.py:129 First occurred: 2:54:10 (1 occurrences) Last logged: 2:54:10
Error setting up entry Configuration.yaml for netatmo Traceback (most recent call last): File “/usr/local/lib/python3.7/dist-packages/homeassistant/config_entries.py”, line 223, in async_setup hass, self File “/usr/local/lib/python3.7/dist-packages/homeassistant/components/netatmo/init.py”, line 95, in async_setup_entry AUTH: api.ConfigEntryNetatmoAuth(hass, entry, implementation) File “/usr/local/lib/python3.7/dist-packages/homeassistant/components/netatmo/api.py”, line 27, in init super().init(token=self.session.token) File “/opt/homeassistant/deps/lib/python3.7/site-packages/pyatmo/auth.py”, line 91, in init scope=self.scope, File “/opt/homeassistant/deps/lib/python3.7/site-packages/requests_oauthlib/oauth2_session.py”, line 79, in init self.token = token or {} File “/opt/homeassistant/deps/lib/python3.7/site-packages/requests_oauthlib/oauth2_session.py”, line 129, in token self._client.populate_token_attributes(value) AttributeError: ‘WebApplicationClient’ object has no attribute ‘populate_token_attributes’
Additional information
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16 (6 by maintainers)
Thanks guys, i reinstalled home assistant and set up in a venv and the problem was resolved. i also defined the external_url and internal_url in the configuration.yaml because i had this error:
NoURLAvailableError
But everything is good now.okay i ll reinstall home assistant and let you know. thanks.
Opened: https://github.com/home-assistant/core/issues/40485