Comments (6)
Thank you.
But, please correct the bug report according to the provided template.
from ha-gismeteo.
Same error here.
Trying to add the integration via the Integrations list (as opposed to going through the config file).
Found Gismeteo, clicked. The message popped up "Error. Config flow could not be loaded".
In the log there is almost the same stacktrace as @bigbrother72 pasted. My copy follows:
home-assistant | 2021-03-06 04:24:47 ERROR (MainThread) [aiohttp.server] Error handling request
home-assistant | Traceback (most recent call last):
home-assistant | File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
home-assistant | resp = await self._request_handler(request)
home-assistant | File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 499, in _handle
home-assistant | resp = await handler(request)
home-assistant | File "/usr/local/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 119, in impl
home-assistant | return await handler(request)
home-assistant | File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 56, in security_filter_middleware
home-assistant | return await handler(request)
home-assistant | File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 172, in forwarded_middleware
home-assistant | return await handler(request)
home-assistant | File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 18, in request_context_middleware
home-assistant | return await handler(request)
home-assistant | File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 72, in ban_middleware
home-assistant | return await handler(request)
home-assistant | File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 129, in auth_middleware
home-assistant | return await handler(request)
home-assistant | File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 129, in handle
home-assistant | result = await result
home-assistant | File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 117, in post
home-assistant | return await super().post(request)
home-assistant | File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 60, in wrapper
home-assistant | result = await method(view, request, *args, **kwargs)
home-assistant | File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 69, in post
home-assistant | result = await self._flow_mgr.async_init(
home-assistant | File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 133, in async_init
home-assistant | result = await self._async_handle_step(
home-assistant | File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 216, in _async_handle_step
home-assistant | result: Dict = await getattr(flow, method)(user_input)
home-assistant | File "/config/custom_components/gismeteo/config_flow.py", line 93, in async_step_user
home-assistant | default=self.hass.config.get(CONF_FORECAST, False),
home-assistant | AttributeError: 'Config' object has no attribute 'get'
Home Assistant 2021.3.1
ha-gismeteo 2.1.1
Adding through the config works fine.
from ha-gismeteo.
Home Assistant OS 5.12, core-2021.3.0, HACS Gismeteo 2.1.1
Add-on installed Ok.
When try to add Integrations - "Config flow could not be loaded".
Core log - same as pasted @shadowpanther.
from ha-gismeteo.
Dont work
`2021-03-13 09:18:00 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
resp = await self._request_handler(request)
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 499, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 56, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 18, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 72, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 129, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 129, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 117, in post
return await super().post(request)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 60, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 69, in post
result = await self._flow_mgr.async_init(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 133, in async_init
result = await self._async_handle_step(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 216, in _async_handle_step
result: Dict = await getattr(flow, method)(user_input)
File "/config/custom_components/gismeteo/config_flow.py", line 93, in async_step_user
default=self.hass.config.get(CONF_FORECAST, False),
AttributeError: 'Config' object has no attribute 'get'`
from ha-gismeteo.
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
from ha-gismeteo.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from ha-gismeteo.
Related Issues (20)
- 3h forecast looks useless
- Add a night temperature or a minimum value
- Прогноз сдвинут по времени HOT 3
- unit ° thus indicating it has a numeric value; however, it has the non-numeric value: unknown HOT 2
- After updating Home Assistant 2023.9.0, there was a change of weather entities, an integration correction is needed. HOT 16
- Интеграция gismeteo использует устаревший прогноз HOT 1
- GISMETEO in Home Assistant will stop work with version 2024.3.0 HOT 3
- Wrong forecast dates HOT 5
- Cannot register a bug here HOT 1
- 2024.1 warnings in Log (deprecated constants) HOT 1
- The custom integration gismeteo implements the forecast property or sets self._attr_forecast in a subclass of WeatherEntity. HOT 1
- After update 2024.1.6 got error HOT 1
- Gismeteo не работает через службу weather.get_forecasts HOT 1
- The method for providing platform translations has changed in Home Assistant Core HOT 2
- Error doing job
- Not loaded
- Settings -> Repairs -> Integration startup time is shown as negative HOT 6
- Sensors for current temperature and current humidity are not created as promised in Docs HOT 12
- Minimal yaml-config causes errors HOT 11
- [FR] Add "state_class: measurement" for sensors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-gismeteo.