Skip to content
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

Depreciation warning #52

Open
4 tasks done
yoann-antoviaque opened this issue Jul 31, 2024 · 0 comments
Open
4 tasks done

Depreciation warning #52

yoann-antoviaque opened this issue Jul 31, 2024 · 0 comments

Comments

@yoann-antoviaque
Copy link

System Health details

System Information

version core-2024.7.3
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.31-haos-raspi
arch aarch64
timezone Europe/Paris
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 5000
Installed Version 1.34.0
Stage running
Available Repositories 1391
Downloaded Repositories 3
HACS Data ok
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
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 57.8 GB
disk_used 4.6 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board rpi3-64
supervisor_api ok
version_api ok
installed_addons File editor (5.8.0), Advanced SSH & Web Terminal (18.0.0), Studio Code Server (5.15.0)
Dashboards
dashboards 2
resources 0
views 0
mode storage
Recorder
oldest_recorder_run 26 juillet 2024 à 09:38
current_recorder_run 31 juillet 2024 à 14:40
estimated_db_size 14.61 MiB
database_engine sqlite
database_version 3.45.3

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of currently previous issues..

Describe the issue

The system warns about a deprecated constant that will be removed, it does not block anything yet, but thought it would be nice to report it before it does

SOURCE_TYPE_GPS was used from zero_motorcycles_integration, this is a deprecated constant which will be removed in HA Core 2025.1. Use SourceType.GPS instead, please report it to the author of the 'zero_motorcycles_integration' custom integration

Reproduction steps

  1. add zero-motorcycles-integration
  2. reboot HA
  3. look at the logs

Debug logs

2024-07-31 14:40:36.604 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration vaillant_vsmart 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-07-31 14:40:36.610 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration zero_motorcycles_integration 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-07-31 14:40:36.615 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-07-31 14:40:40.015 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2024-07-31 14:40:40.343 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=10 from 2024-07-28 15:23:50.135012)
2024-07-31 14:40:46.742 ERROR (MainThread) [homeassistant.config] Invalid config for 'tts' from integration 'google_translate' at configuration.yaml, line 36: 'base_url' is an invalid option for 'google_translate.tts', check: base_url, please check the docs at https://www.home-assistant.io/integrations/google_translate
2024-07-31 14:40:51.879 WARNING (MainThread) [bluetooth_auto_recovery.recover] Could not determine the power state of the Bluetooth adapter hci0 [00:00:00:00:00:00] due to timeout after 5 seconds
2024-07-31 14:41:12.916 WARNING (MainThread) [bluetooth_auto_recovery.recover] Could not cycle the Bluetooth adapter hci0 [00:00:00:00:00:00]: [Errno 110] Operation timed out
2024-07-31 14:41:12.920 WARNING (MainThread) [bluetooth_auto_recovery.recover] Bluetooth management socket connection lost: [Errno 22] Invalid argument
2024-07-31 14:41:17.919 WARNING (MainThread) [bluetooth_auto_recovery.recover] Could not reset the power state of the Bluetooth adapter hci0 [00:00:00:00:00:00] due to timeout after 5 seconds
2024-07-31 14:41:17.925 WARNING (MainThread) [bluetooth_auto_recovery.recover] Closing Bluetooth adapter hci0 [00:00:00:00:00:00] failed: [Errno 9] Bad file descriptor
2024-07-31 14:41:26.650 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/frontend", "/config/custom_components/hacs/hacs_frontend_experimental", False)])`; This function will be removed in 2025.7 at custom_components/hacs/frontend.py, line 49: hass.http.register_static_path(, please create a bug report at https://github.com/hacs/integration/issues
2024-07-31 14:41:26.667 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/iconset.js", "/config/custom_components/hacs/iconset.js", True)])`; This function will be removed in 2025.7 at custom_components/hacs/frontend.py, line 57: hass.http.register_static_path(, please create a bug report at https://github.com/hacs/integration/issues
2024-07-31 14:41:26.686 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
2024-07-31 14:41:41.808 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('shopping_list', '01J3Q6SC6F28SBZN6193176MM5'): 144.51724526, ('hacs', '01J3SZ1B21STJSMXY87EST9N0B'): 148.148225357, ('androidtv_remote', '01J3Q6TWNAVEJ1YHF3XEGCMMP3'): 150.7391511, ('ipp', '01J3Q796RRZCB31HG1M853T9KF'): 151.004406827, ('broadlink', '01J3RNDB65QB2WWSE0M6SCXBW8'): 151.218702425, ('doorbird', '01J3R21Q1NTJTQCCT7JY23G0PS'): 151.463262101, ('zero_motorcycles_integration', '01J3T0ZVW538ZACDFBSK1K3Z2Q'): 151.525341632, ('vaillant_vsmart', '01J3WHZDZJKV1KDVER6YGJJG60'): 154.91791151, ('synology_dsm', '01J3R2V8SEVEVP5P7YJ3EH8BW4'): 155.300939717, ('rpi_power', '01J3Q6HQWMC5NZQ0109CDRPSYD'): 155.509659221, ('cast', '01J3Q6HSD6PGJGXX3RNAG6MVAA'): 155.97174927, ('met', '01J3Q6SCCWE12ATDNDRCBB244B'): 156.124621193}
2024-07-31 14:41:46.740 WARNING (ImportExecutor_0) [homeassistant.components.device_tracker] SOURCE_TYPE_GPS was used from zero_motorcycles_integration, this is a deprecated constant which will be removed in HA Core 2025.1. Use SourceType.GPS instead, please report it to the author of the 'zero_motorcycles_integration' custom integration
2024-07-31 14:41:46.761 WARNING (ImportExecutor_0) [homeassistant.components.device_tracker] SOURCE_TYPE_GPS was used from zero_motorcycles_integration, this is a deprecated constant which will be removed in HA Core 2025.1. Use SourceType.GPS instead, please report it to the author of the 'zero_motorcycles_integration' custom integration

Diagnostics dump

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant