Configuration validation issues (GUI config)
Closed this issue · 8 comments
After last update
Эта ошибка возникла в кастомной интеграции.
Logger: homeassistant.config_entries
Source: custom_components/moscow_pgu/init.py:116
Integration: Госуслуги Москвы (documentation, issues)
First occurred: 20:42:34 (1 occurrences)
Last logged: 20:42:34
Error setting up entry for moscow_pgu
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/moscow_pgu/init.py", line 116, in async_setup_entry
final_config = CONFIG_ENTRY_SCHEMA({**config_entry.data, **config_entry.options})
File "/usr/local/lib/python3.9/site-packages/voluptuous/schema_builder.py", line 272, in call
return self._compiled([], data)
File "/usr/local/lib/python3.9/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.9/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['app_version']
Эта ошибка возникла в кастомной интеграции.
Logger: aiohttp.server
Source: custom_components/moscow_pgu/config_flow.py:141
Integration: Госуслуги Москвы (documentation, issues)
First occurred: 20:43:38 (1 occurrences)
Last logged: 20:43:38
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
resp = await self._request_handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 499, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.9/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 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 98, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 24, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 144, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 192, in post
return await super().post(request)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 62, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 72, in post
result = await self._flow_mgr.async_init(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 151, in async_init
flow, result = await task
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 177, in _async_init
result = await self._async_handle_step(flow, flow.init_step, data, init_done)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 256, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/config/custom_components/moscow_pgu/config_flow.py", line 141, in async_step_init
device_info_config = base_config[CONF_DEVICE_INFO]
KeyError: 'device_info'
Пожалуйста, обновитесь до ветки main
(HACS -> три точки на интеграции -> Reinstall -> Show beta versions -> main -> Install), и проверьте, исчезла ли проблема.
Эта ошибка возникла в кастомной интеграции.
Logger: custom_components.moscow_pgu.sensor
Source: custom_components/moscow_pgu/sensor.py:960
Integration: Госуслуги Москвы (documentation, issues)
First occurred: 14 октября 2021 г., 22:18:08 (1 occurrences)
Last logged: 14 октября 2021 г., 22:18:08
Error on indications status update: Response error [8000]: Неверный тип переданных данных
В общем версия 0.2.2 работает нормально. 0.2.4 выпадает в ошибку.
@DieMetRik , @frfstu пожалуйста, проверьте версию v0.2.5
@DieMetRik , @frfstu пожалуйста, проверьте версию v0.2.5
все работает. сегодня днем обновил
В таком случае закрываю тикет; если проблема возникнет, прошу писать сюда.