Aohzan / ipx800v5

IPX800 V5 integration for Home-Assistant
Apache License 2.0
10 stars 0 forks source link

Problème authentification PUSH IPX800 => HA #17

Closed quenti123 closed 1 month ago

quenti123 commented 2 months ago

Describe the bug

J'essaie de PUSH les valeurs de détecteurs de mouvement filaires connectés sur X8D. J'ai suivi le tuto sur le readme et tout me semble correct mais le changement d'état est toujours long (10sec environ voir beaucoup plus ou pas du tout) et j’obtiens un message d'erreur d'authentification dans le journal de HA : Authentication for PUSH invalid ainsi que API call authentication invalid. API call no authentication provided.

Tout le reste fonctionne. J'ai installé toute ma maison en filaire sur ipx800 V5 et X8R sans soucis donc l'API semble correcte

Configuration

Mot de passe PUSh rentré dans l'UI de l'intégration car étant un noobie de HA, je ne suis pas à l'aise avec le fichier configuration.yaml

Screenshots

image

image

image

image

image

J'ai essayé de comprendre par moi même depuis quelque temps mais sans succès

Merci d'avance :)

Aohzan commented 2 months ago
quenti123 commented 1 month ago

Merci pour ton retour, désolé pour le retard j'étais en vacance.

Je n'ai plus de problème de message d'erreur API, je ne sais pas trop pourquoi mais j'ai tout refait depuis le début et ça fonctionne.

J'ai juste un soucis c'est le délai entre les détections.

Par exemple, le détecteur du hall me voit, change d'état et HA reçoit l'info. Ensuite, l'état du détecteur revient à la normal mais il faut une dizaine de seconde avant que HA récupère une nouvelle fois l'info de changement d'état. Comme si il y avait un "time out" entre les push ? Peut être un problème de paramétrage ?

image

image

image

Aohzan commented 1 month ago

Ca ne me dit rien là comme ça, tu es sûr que la mise à jour de l'état est fait via le push ? c'est indiqué dans les logs en debug

quenti123 commented 1 month ago

Je viens de le mettre en débug cet aprem et je ne vois rien lié au PUSH mais peut être que tu vois quelque chose ?

2024-09-08 17:14:23.663 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-09-08 17:14:23.663 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration ipx800v5 which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-09-08 17:14:26.423 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'ipx800v5' calls async_forward_entry_setup for integration, ipx800v5 which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/ipx800v5/init.py, line 215: hass.async_create_task(, please create a bug report at https://github.com/Aohzan/ipx800v5/issues 2024-09-08 17:14:26.469 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration ipx800v5 , during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue. Stack (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in 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/config_entries.py", line 2184, in async_forward_entry_setup _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup") File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1201, in _report_non_awaited_platform_forwards report( File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report _LOGGER.warning(msg, stack_info=True) 2024-09-08 17:14:26.478 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration ipx800v5 during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue. Stack (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in 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/config_entries.py", line 2184, in async_forward_entry_setup _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup") File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1201, in _report_non_awaited_platform_forwards report( File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report _LOGGER.warning(msg, stack_info=True) 2024-09-08 17:14:26.483 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration ipx800v5 during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue. Stack (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in 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/config_entries.py", line 2184, in async_forward_entry_setup _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup") File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1201, in _report_non_awaited_platform_forwards report( File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report _LOGGER.warning(msg, stack_info=True) 2024-09-08 17:14:26.494 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration ipx800v5 during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue. Stack (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in 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/config_entries.py", line 2184, in async_forward_entry_setup _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup") File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1201, in _report_non_awaited_platform_forwards report( File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report _LOGGER.warning(msg, stack_info=True) 2024-09-08 17:14:26.497 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration ipx800v5 during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue. Stack (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in 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/config_entries.py", line 2184, in async_forward_entry_setup _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup") File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1201, in _report_non_awaited_platform_forwards report( File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report _LOGGER.warning(msg, stack_info=True) 2024-09-08 17:14:26.499 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration ipx800v5 during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue. Stack (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in 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/config_entries.py", line 2184, in async_forward_entry_setup _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup") File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1201, in _report_non_awaited_platform_forwards report( File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report _LOGGER.warning(msg, stack_info=True) 2024-09-08 17:14:26.502 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration ipx800v5 during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue. Stack (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in 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/config_entries.py", line 2184, in async_forward_entry_setup _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup") File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1201, in _report_non_awaited_platform_forwards report( File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report _LOGGER.warning(msg, stack_info=True) 2024-09-08 17:14:26.504 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration ipx800v5 during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue. Stack (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in 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/config_entries.py", line 2184, in async_forward_entry_setup _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup") File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1201, in _report_non_awaited_platform_forwards report( File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report _LOGGER.warning(msg, stack_info=True) 2024-09-08 17:14:26.505 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration ipx800v5 during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue. Stack (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in 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/config_entries.py", line 2184, in async_forward_entry_setup _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup") File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1201, in _report_non_awaited_platform_forwards report( File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report _LOGGER.warning(msg, stack_info=True)

Je vois juste plusieurs messages warning mais qui ne semble pas être liés à mon problème actuel :

2024-09-08 17:14:26.505 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration ipx800v5 during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.

Aohzan commented 1 month ago

Tu es censé avoir des messages comme State update pushed from IPX ou Update asked from IPX PUSH, comme on voit rien je suppose que le push ne fonctionne pas depuis l'IPX

quenti123 commented 1 month ago

Je viens de refaire un test à partir de l'IPX et j'obient ceci dans les logs :

2024-09-29 15:54:32.399 WARNING (MainThread) [custom_components.ipx800v5.request_views] API call authentication invalid. 2024-09-29 15:54:32.400 WARNING (MainThread) [custom_components.ipx800v5.request_views] Authentication for PUSH invalid 2024-09-29 15:54:33.757 DEBUG (MainThread) [custom_components.ipx800v5] Finished fetching IPX800 V5 data in 0.079 seconds (success: True) 2024-09-29 15:54:34.106 WARNING (MainThread) [custom_components.ipx800v5.request_views] API call authentication invalid. 2024-09-29 15:54:34.107 WARNING (MainThread) [custom_components.ipx800v5.request_views] Authentication for PUSH invalid

Il semblerait un soucis de com avec l'API mais toutes les entités sont reconnues et fonctionnelles ....

Tout autre chose, depuis la maj en 1.8.1, je n'ai plus accès à la configuration de l'intégration :

image

2024-09-29 15:58:14.574 ERROR (MainThread) [pypx800v5.ipx800] Error to get access_control object 2024-09-29 15:58:14.576 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 462, in _handle_request resp = await request_handler(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 537, in _handle resp = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, 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/http/decorators.py", line 81, in with_admin return await func(self, request, *args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 262, in post return await super().post(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 74, in wrapper return await method(view, request, data, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 77, in post return await self._post_impl(request, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 84, in _post_impl result = await self._flow_mgr.async_init( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 341, in async_init result = await self._async_handle_step(flow, flow.init_step, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 516, in _async_handle_step result: _FlowResultT = await getattr(flow, method)(user_input) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/ipx800v5/config_flow.py", line 147, in async_step_init schema = await _build_param_schema( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/ipx800v5/config_flow.py", line 247, in _build_param_schema _LOGGER.debug("Found %s %s", len(extensions), ext_type) ^^^^^^^^^^^^^^^ TypeError: object of type 'itertools._grouper' has no len() 2024-09-29 15:59:05.639 DEBUG (MainThread) [custom_components.ipx800v5.config_flow] Add options for user entry 2024-09-29 15:59:05.639 DEBUG (MainThread) [custom_components.ipx800v5.config_flow] Connect to the IPX to get its configuration 2024-09-29 15:59:08.222 ERROR (MainThread) [pypx800v5.ipx800] Error to get access_control object 2024-09-29 15:59:08.223 DEBUG (MainThread) [custom_components.ipx800v5.config_flow] Build schema according to the IPX configuration 2024-09-29 15:59:08.223 DEBUG (MainThread) [custom_components.ipx800v5.tools_entities] Found custom config for device IPX N°0 Relais 1 2024-09-29 15:59:08.224 DEBUG (MainThread) [custom_components.ipx800v5.tools_entities] Found custom config for device IPX N°0 Relais 2 2024-09-29 15:59:08.224 DEBUG (MainThread) [custom_components.ipx800v5.tools_entities] Found custom config for device IPX N°0 Relais 3 2024-09-29 15:59:08.224 DEBUG (MainThread) [custom_components.ipx800v5.tools_entities] Found custom config for device IPX N°0 Relais 4 2024-09-29 15:59:08.225 DEBUG (MainThread) [custom_components.ipx800v5.tools_entities] Found custom config for device IPX N°0 Relais 5 2024-09-29 15:59:08.225 DEBUG (MainThread) [custom_components.ipx800v5.tools_entities] Found custom config for device IPX N°0 Relais 6 2024-09-29 15:59:08.225 DEBUG (MainThread) [custom_components.ipx800v5.tools_entities] Found custom config for device IPX N°0 Relais 7 2024-09-29 15:59:08.226 DEBUG (MainThread) [custom_components.ipx800v5.tools_entities] Found custom config for device IPX N°0 Relais 8 2024-09-29 15:59:08.226 DEBUG (MainThread) [custom_components.ipx800v5.config_flow] Build schema according to the extensions found 2024-09-29 15:59:08.226 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 462, in _handle_request resp = await request_handler(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 537, in _handle resp = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, 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/http/decorators.py", line 81, in with_admin return await func(self, request, *args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 262, in post return await super().post(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 74, in wrapper return await method(view, request, data, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 77, in post return await self._post_impl(request, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 84, in _post_impl result = await self._flow_mgr.async_init( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 341, in async_init result = await self._async_handle_step(flow, flow.init_step, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 516, in _async_handle_step result: _FlowResultT = await getattr(flow, method)(user_input) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/ipx800v5/config_flow.py", line 147, in async_step_init schema = await _build_param_schema( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/ipx800v5/config_flow.py", line 247, in _build_param_schema _LOGGER.debug("Found %s %s", len(extensions), ext_type) ^^^^^^^^^^^^^^^ TypeError: object of type 'itertools._grouper' has no len()