Ludy87 / xplora_watch

Xplora® Watch Home Assistant Integration
MIT License
52 stars 6 forks source link

No Devices or Entities #437

Closed acs-lux closed 3 months ago

acs-lux commented 3 months ago

What version of Integration has the issue?

V2.13.11

System Health details

System Information

version core-2024.7.4
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 6.6.33-haos
arch aarch64
timezone Europe/Luxembourg
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4538 Installed Version | 1.34.0 Stage | running Available Repositories | 1396 Downloaded Repositories | 71
Home Assistant Supervisor host_os | Home Assistant OS 12.4 -- | -- update_channel | stable supervisor_version | supervisor-2024.06.2 agent_version | 1.6.0 docker_version | 26.1.4 disk_total | 113.9 GB disk_used | 94.2 GB healthy | true supported | true host_connectivity | true supervisor_connectivity | true ntp_synchronized | true virtualization | board | odroid-n2 supervisor_api | ok version_api | ok installed_addons | Home Assistant Google Drive Backup (0.112.1), AdGuard Home (5.1.1), FTP (5.0.2), File editor (5.8.0), Glances (0.21.1), MariaDB (2.7.1), Plex Media Server (3.5.2), Samba share (12.3.2), Mosquitto broker (6.4.1), go2rtc (1.9.4), Terminal & SSH (9.14.0), Grafana (10.0.0), Matter Server (6.3.1), Studio Code Server (5.15.0), Music Assistant Server (2.1.0), motionEye (0.20.0)

Checklist

Describe the issue

After following the instructions for installation the integration is successfully installed but no Devices or Entities are created. Watch is Xplora XGO3 which is working with the app. I have tried but not succeeded to create a separate account for the integration. It requires a phone number and if i use an existing one (mine or the watch) it is unsuccessful as it is already registered. The logs look like the integration should have set up the device and entities but even after several restarts and/or reloads none appear. What am i doing wrong here?

Reproduction steps

  1. Add integration from HACS
  2. Add integration in home assistant and set up
  3. Login with email or phone number (neither work)

Debug logs

2024-08-01 22:24:02.991 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration xplora_watch 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-08-01 22:24:22.812 INFO (MainThread) [homeassistant.setup] Setting up xplora_watch
2024-08-01 22:24:22.813 INFO (MainThread) [homeassistant.setup] Setup of domain xplora_watch took 0.00 seconds
2024-08-01 22:24:45.883 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'xplora_watch' calls async_forward_entry_setup for integration, xplora_watch with title: Xplora® and entry_id: 01J47PN9PGZ4RY7Y0N46ZV8CST, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/xplora_watch/__init__.py, line 67: hass.async_create_task(hass.config_entries.async_forward_entry_setup(entry, platform)), please create a bug report at https://github.com/Ludy87/xplora_watch/issues
2024-08-01 22:24:46.036 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up xplora_watch.binary_sensor
2024-08-01 22:24:46.039 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration xplora_watch with title: Xplora® and entry_id: 01J47PN9PGZ4RY7Y0N46ZV8CST, 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.
2024-08-01 22:24:46.050 INFO (MainThread) [homeassistant.components.device_tracker] Setting up xplora_watch.device_tracker
2024-08-01 22:24:46.052 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration xplora_watch with title: Xplora® and entry_id: 01J47PN9PGZ4RY7Y0N46ZV8CST, 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.
2024-08-01 22:24:46.060 INFO (MainThread) [homeassistant.components.sensor] Setting up xplora_watch.sensor
2024-08-01 22:24:46.061 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration xplora_watch with title: Xplora® and entry_id: 01J47PN9PGZ4RY7Y0N46ZV8CST, 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.
2024-08-01 22:24:46.067 INFO (MainThread) [homeassistant.components.switch] Setting up xplora_watch.switch
2024-08-01 22:24:46.068 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration xplora_watch with title: Xplora® and entry_id: 01J47PN9PGZ4RY7Y0N46ZV8CST, 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.
2024-08-01 22:24:46.070 INFO (MainThread) [homeassistant.components.notify] Setting up notify.xplora_watch
2024-08-01 22:35:09.774 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up xplora_watch.binary_sensor
2024-08-01 22:35:09.782 INFO (MainThread) [homeassistant.components.device_tracker] Setting up xplora_watch.device_tracker
2024-08-01 22:35:09.791 INFO (MainThread) [homeassistant.components.sensor] Setting up xplora_watch.sensor
2024-08-01 22:35:09.799 INFO (MainThread) [homeassistant.components.switch] Setting up xplora_watch.switch
2024-08-01 22:35:09.800 INFO (MainThread) [homeassistant.components.notify] Setting up notify.xplora_watch
2024-08-01 22:51:44.743 DEBUG (MainThread) [custom_components.xplora_watch] Unload a config entry
2024-08-01 22:51:44.745 DEBUG (MainThread) [custom_components.xplora_watch] Configure based on config entry 01J47PN9PGZ4RY7Y0N46ZV8CST
2024-08-01 22:51:45.016 DEBUG (MainThread) [custom_components.xplora_watch] pyxplora_api lib version: 2.12.9-1298
2024-08-01 22:51:46.702 DEBUG (MainThread) [custom_components.xplora_watch.coordinator] Fetch data from Xplora: 6096919
2024-08-01 22:51:50.108 DEBUG (MainThread) [custom_components.xplora_watch.coordinator] load address from openstreetmap.org
2024-08-01 22:51:50.110 DEBUG (MainThread) [custom_components.xplora_watch.coordinator] Manually updated xplora_watch- data
2024-08-01 22:51:50.111 DEBUG (MainThread) [custom_components.xplora_watch.coordinator] Finished fetching xplora_watch- data in 5.095 seconds (success: True)
2024-08-01 22:51:51.647 DEBUG (MainThread) [custom_components.xplora_watch.helper] set services.yaml path: /config/custom_components/xplora_watch/services.yaml
2024-08-01 22:51:51.647 DEBUG (MainThread) [custom_components.xplora_watch.helper] services_en.json path: /config/custom_components/xplora_watch/jsons/service_en.json
2024-08-01 22:51:51.690 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up xplora_watch.binary_sensor
2024-08-01 22:51:51.699 INFO (MainThread) [homeassistant.components.device_tracker] Setting up xplora_watch.device_tracker
2024-08-01 22:51:51.709 INFO (MainThread) [homeassistant.components.sensor] Setting up xplora_watch.sensor
2024-08-01 22:51:51.718 INFO (MainThread) [homeassistant.components.switch] Setting up xplora_watch.switch
2024-08-01 22:51:51.718 INFO (MainThread) [homeassistant.components.notify] Setting up notify.xplora_watch
2024-08-01 22:51:51.719 DEBUG (MainThread) [custom_components.xplora_watch.notify] init Notify Service
github-actions[bot] commented 3 months ago

:wave: @acs-lux, it is checked whether there is a bug. Please have some patience. This action was performed automatically.

github-actions[bot] commented 3 months ago

Thanks for opening this issue! I have applied any labels matching special text in your title and description.

@Ludy87: Please review the labels and make any necessary changes.

Ludy87 commented 3 months ago

Have you activated the individual sensors in the configuration?

acs-lux commented 3 months ago

Screenshot 2024-08-01 230820

There are no sensors or entities of any kind

acs-lux commented 3 months ago

Ah stupid me, I see now. Ok its working if I select and so activated each individual sensor when configuring. I must have missed that bit. Many thanks.

Screenshot 2024-08-01 231208