Closed MittaAxt closed 8 months ago
:wave: @MittaAxt, it is checked whether there is a bug. Please have some patience. This action was performed automatically.
:wave: @MittaAxt, we found the bug, it will be fixed shortly. This action was performed automatically.
Tested today after the update to 2.12.1 but still failing the initialisation
2024-01-08 10:54:31.407 DEBUG (MainThread) [custom_components.xplora_watch] Configure based on config entry de6dc2d6a354072e61f79b3589ba7e1a 2024-01-08 10:54:31.565 DEBUG (MainThread) [custom_components.xplora_watch] pyxplora_api lib version: 2.10.0-1298 2024-01-08 10:54:32.979 DEBUG (MainThread) [custom_components.xplora_watch.coordinator] Fetch data from Xplora: 9298082 2024-01-08 10:54:34.904 DEBUG (MainThread) [custom_components.xplora_watch.coordinator] load address from openstreetmap.org 2024-01-08 10:54:34.905 DEBUG (MainThread) [custom_components.xplora_watch.coordinator] Manually updated xplora_watch-47046 data 2024-01-08 10:54:34.905 DEBUG (MainThread) [custom_components.xplora_watch.coordinator] Finished fetching xplora_watch-47046 data in 3.340 seconds (success: True) 2024-01-08 10:54:36.133 DEBUG (MainThread) [custom_components.xplora_watch.helper] set services.yaml path: /config/custom_components/xplora_watch/services.yaml 2024-01-08 10:54:36.133 DEBUG (MainThread) [custom_components.xplora_watch.helper] services_en.json path: /config/custom_components/xplora_watch/jsons/service_en.json 2024-01-08 10:54:36.134 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Xplora® for xplora_watch Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 406, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/xplora_watch/init.py", line 64, in async_setup_entry await create_service_yaml_file(hass, entry, watches) File "/config/custom_components/xplora_watch/helper.py", line 125, in create_service_yaml_file yaml_service.get("see", None) ^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute '
Hi, your integration is not loaded correctly, it shows the wrong lib version pyxplora_api lib version: 2.10.0-1298
hm ok i was already wondering about that as this was reported in debug after several restarts and in the UI 2.12.1 was reported to be installed in HACS that mismatch between what I saw in my UI(installed 2.12.1, while 2.10.0 is reported) seems to be related to the point that 2.12.1 requires 2024.1.2 while I have just 2024.1.1 installed when I updated to 2.12.1. Interestingly I got no error or warning about that mismatch at the update, just after I removed the device integration itself and the HACS integration and tried a fresh install of the HACS integration
can confirm 2024.1.2 and 2.12.1 fixed the issue
you can also simply update the files in the xplora_watch folder, i.e. not via HACS
What version of Integration has the issue?
2.10.4
System Health details
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4972 Installed Version | 1.33.0 Stage | running Available Repositories | 1365 Downloaded Repositories | 9Home Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome Assistant Supervisor
host_os | Home Assistant OS 11.3 -- | -- update_channel | stable supervisor_version | supervisor-2023.12.0 agent_version | 1.6.0 docker_version | 24.0.7 disk_total | 62.3 GB disk_used | 18.2 GB healthy | true supported | true board | ova supervisor_api | ok version_api | ok installed_addons | Advanced SSH & Web Terminal (17.0.1), ESPHome (2023.12.5), TasmoAdmin (0.28.0), Log Viewer (0.16.0), chrony (3.0.0), Mosquitto broker (6.4.0), Samba share (12.2.0), Node-RED (16.0.2), Grafana (9.1.1), RPC Shutdown (2.4), Duck DNS (1.15.0), AirCast (4.0.1), MariaDB (2.6.1), Studio Code Server (5.14.2)Dashboards
dashboards | 1 -- | -- resources | 0 mode | auto-genRecorder
oldest_recorder_run | December 29, 2023 at 11:28 -- | -- current_recorder_run | January 5, 2024 at 18:11 estimated_db_size | 249.88 MiB database_engine | sqlite database_version | 3.41.2Checklist
Describe the issue
After a fresh HA installation and adding the integration via HACS, the integration failed to initialize (Failed to setup) after adding the mobile number and password for the first time and no device is shown
Trying to "Configure" the integration afterwards opens the window with the correct information of the watch, but the integration fails again after clicking save, and the device list is still empty.
Reproduction steps
Debug logs