DanChaltiel / heatzy-pilote-card

Heatzy Pilote Card
GNU General Public License v3.0
4 stars 4 forks source link

Log error #7

Open AGeille opened 6 hours ago

AGeille commented 6 hours ago

je suis sous raspberry Pi5 install neuve avec versatile thermostat. Tout semble fonctionner mais j'ai eu un message d'erreur ce soir dans les logs lié à heatzy. Si j'ai bien compris c'est lié au login et mdp mais j'ai eu aucun problème à me loguer et importer mes devices.

Voici le bug report sauf erreur de ma part: Logger: aiohttp.server Source: /usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py:448 First occurred: 10:05:23 PM (4 occurrences) Last logged: 10:06:43 PM

Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 477, in _handle_request resp = await request_handler(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 559, in _handle return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 117, in impl return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 85, in ban_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware response = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle result = await handler(request, **request.match_info) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/diagnostics/init.py", line 280, in get data = await info.config_entry_diagnostics(hass, config_entry) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/heatzy/diagnostics.py", line 44, in async_get_config_entry_diagnostics coordinator = hass.data[DOMAIN][entry.entry_id]


KeyError: 'heatzy'

**voici le log initial HA:**
Logger: homeassistant.util.loop
Source: util/loop.py:77
First occurred: 10:02:27 PM (1 occurrences)
Last logged: 10:02:27 PM

Detected blocking call to import_module with args ('custom_components.heatzy',) in /usr/src/homeassistant/homeassistant/loader.py, line 1067: ComponentProtocol, importlib.import_module(self.pkg_path) inside the event loop; This is causing stability issues. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#import_module Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module> sys.exit(main()) File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component result = await _async_setup_component(hass, domain, config) File "/usr/src/homeassistant/homeassistant/setup.py", line 334, in _async_setup_component component = await integration.async_get_component() File "/usr/src/homeassistant/homeassistant/loader.py", line 1019, in async_get_component comp = self._get_component() File "/usr/src/homeassistant/homeassistant/loader.py", line 1067, in _get_component ComponentProtocol, importlib.import_module(self.pkg_path)
DanChaltiel commented 6 hours ago

Mon installation HA est buguée (une histoire de réseau que je ne comprends pas du tout), ça fait presque un an et je n'ai pas trouvé la solution 😢 Si tu te sens de corriger le bug dans une PR je l'accepterai, mais de mon côté je n'ai malheureusement plus de moyen de développer ce plugin.

AGeille commented 5 hours ago

Je suis passé par versatile thermostat ça fait très bien le boulot ;)

Le mar. 5 nov. 2024, 22:38, Dan Chaltiel @.***> a écrit :

Mon installation HA est buguée (une histoire de réseau que je ne comprends pas du tout), ça fait presque un an et je n'ai pas trouvé la solution 😢 Si tu te sens de corriger le bug dans une PR je l'accepterai, mais de mon côté je n'ai malheureusement plus de moyen de développer ce plugin.

— Reply to this email directly, view it on GitHub https://github.com/DanChaltiel/heatzy-pilote-card/issues/7#issuecomment-2458198738, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZJ3GBYIYYSSMI4EHGUJNO3Z7E3GPAVCNFSM6AAAAABRHOPRNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJYGE4TQNZTHA . You are receiving this because you authored the thread.Message ID: @.***>