-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Не стабильно работает компонент #2
Comments
Не подскажете ли, помимо Исправление могу сразу выпустить, но хотелось бы включить всевозможные варианты. (Для контекста: эти ошибки означают, что АПИ не отдаёт какие-то данные, которые ощущались обязательными во время тестирования) |
refactor: updated underlying library version (#2) refactor: changed several logging messages to support multilingual operation
Проверьте v0.0.5, возможно это исправит Вашу проблему. |
Setup failed for tns_energo: Unable to import component: No module named 'inter_rao_energosbyt' |
|
|
Logger: aiohttp.server Error handling request Заранее спасибо. |
@tayanov Пожалуйста, свяжитесь со мной в Telegram: @alryaz (https://t.me/alryaz) |
2022-09-11 17:24:59.808 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry XXXXXXXXXXXX for tns_energo |
Эта ошибка возникла в кастомной интеграции. Logger: homeassistant.helpers.entity Update for sensor.tns_rostov_XXXXXXXXXXXX_meter_XXXXXXXXXXXXXXXXX fails =============================== Эта ошибка возникла в кастомной интеграции. Logger: homeassistant.helpers.entity Update for sensor.tns_rostov_XXXXXXXXXXXX_account fails During handling of the above exception, another exception occurred: Traceback (most recent call last): |
При первой настройке через ГУЙ компонент заработал, на след. день сенсоры не активны.
В логе ошибки:
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/tns_energo/init.py", line 228, in async_setup_entry
await api_object.async_authenticate()
File "/usr/local/lib/python3.9/site-packages/tns_energo_api/init.py", line 270, in async_authenticate
response = await AuthorizationRequest.async_request(self, self._username, self._password)
File "/usr/local/lib/python3.9/site-packages/tns_energo_api/requests/authorization.py", line 87, in async_request
return cls.from_response(await cls.async_request_raw(on, username, password))
File "/usr/local/lib/python3.9/site-packages/tns_energo_api/converters.py", line 175, in from_response
return super().from_response(data, **kwargs)
File "/usr/local/lib/python3.9/site-packages/tns_energo_api/converters.py", line 143, in from_response
return cls(**init_args) # type: ignore[call-arg]
TypeError: init() missing 1 required keyword-only argument: 'debt'
или так
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/tns_energo/init.py", line 228, in async_setup_entry
await api_object.async_authenticate()
File "/usr/local/lib/python3.9/site-packages/tns_energo_api/init.py", line 270, in async_authenticate
response = await AuthorizationRequest.async_request(self, self._username, self._password)
File "/usr/local/lib/python3.9/site-packages/tns_energo_api/requests/authorization.py", line 87, in async_request
return cls.from_response(await cls.async_request_raw(on, username, password))
File "/usr/local/lib/python3.9/site-packages/tns_energo_api/converters.py", line 175, in from_response
return super().from_response(data, **kwargs)
File "/usr/local/lib/python3.9/site-packages/tns_energo_api/converters.py", line 143, in from_response
return cls(**init_args) # type: ignore[call-arg]
TypeError: init() missing 2 required keyword-only arguments: 'controlled_by_code' and 'debt'
Каждый раз последние строки разные
The text was updated successfully, but these errors were encountered: