hacs / integration

HACS gives you a powerful UI to handle downloads of all your custom needs.
https://hacs.xyz
MIT License
4.87k stars 1.22k forks source link

Detected that custom integration 'hacs' accesses hass.components.frontend #3749

Closed 67jeffh closed 1 month ago

67jeffh commented 1 month ago

System Health details

System Information

version core-2024.5.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.6.28-haos-raspi
arch aarch64
timezone America/New_York
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | failed to load: timeout GitHub API Calls Remaining | 4993 Installed Version | 1.34.0 Stage | running Available Repositories | 1464 Downloaded Repositories | 13 HACS Data | ok
Home Assistant Cloud logged_in | true -- | -- subscription_expiration | 31 January 2025 at 19:00 relayer_connected | true relayer_region | us-east-1 remote_enabled | true remote_connected | true alexa_enabled | true google_enabled | true remote_server | us-east-1-9.ui.nabu.casa certificate_status | ready instance_id | can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 12.3 -- | -- update_channel | stable supervisor_version | supervisor-2024.05.1 agent_version | 1.6.0 docker_version | 25.0.5 disk_total | 58.0 GB disk_used | 17.4 GB healthy | true supported | true board | rpi4-64 supervisor_api | ok version_api | ok installed_addons | Mosquitto broker (6.4.1), Grocy (0.21.0), WireGuard (0.10.2), Studio Code Server (5.15.0), Samba share (12.3.1), Node-RED (17.0.12), MQTT Explorer (browser-1.0.3)
Dashboards dashboards | 4 -- | -- resources | 6 views | 5 mode | storage
Recorder oldest_recorder_run | 23 May 2024 at 00:26 -- | -- current_recorder_run | 31 May 2024 at 12:18 estimated_db_size | 127.16 MiB database_engine | sqlite database_version | 3.44.2

Checklist

Describe the issue

Trying to update core from 2024.3 to 2024.5.5 and it will not update. Keeps spinning then goes stays at 2024.5.3. when pulling the logs, I see the warning "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"

Reproduction steps

  1. Every time I view the logs it is showing up.
  2. No other issues except I cannot update HA Core to 2024.5.5
  3. ...

Debug logs


2024-05-31 12:32:32.757 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration hubitat 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-05-31 12:32:32.759 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration dreo 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-05-31 12:32:32.761 WARNING (SyncWorker_3) [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-05-31 12:32:32.762 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration smartthinq_sensors 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-05-31 12:32:32.764 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration alexa_media 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-05-31 12:32:32.765 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration nodered 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-05-31 12:32:32.767 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration flair 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-05-31 12:32:38.660 DEBUG (MainThread) [dreo] async_setup_entry
2024-05-31 12:32:38.660 DEBUG (MainThread) [dreo] 67jeffh@gmail.com
2024-05-31 12:32:38.660 DEBUG (MainThread) [dreo] auto_reconnect is None.  Default to True
2024-05-31 12:32:38.660 DEBUG (MainThread) [pydreo] Setting auto_reconnect to True
2024-05-31 12:32:38.662 DEBUG (MainThread) [pydreo] CommandTransport::Setting auto_reconnect to True
2024-05-31 12:32:38.667 DEBUG (SyncWorker_3) [pydreo] Calling Dreo API: {login}
2024-05-31 12:32:38.667 DEBUG (SyncWorker_3) [pydreo] =======call_api=============================
2024-05-31 12:32:38.668 DEBUG (SyncWorker_3) [pydreo] [post] calling '/api/oauth/login' api
2024-05-31 12:32:38.668 DEBUG (SyncWorker_3) [pydreo] API call URL: 
  https://app-api-us.dreo-cloud.com/api/oauth/login
2024-05-31 12:32:38.682 DEBUG (SyncWorker_3) [pydreo] API call headers: 
  {"ua": "dreo/2.5.12 (sdk_gphone64_arm64;android 13;Scale/2.625)", "lang": "en", "content-type": "application/json; charset=UTF-8", "accept-encoding": "gzip", "user-agent": "okhttp/4.9.1"}
2024-05-31 12:32:38.682 DEBUG (SyncWorker_3) [pydreo] API call json: 
  {"acceptLanguage": "en", "client_id": "7de37c362ee54dcf9c4561812309347a", "client_secret": "32dfa0764f25451d99f94e1693498791", "email": "##_REDACTED_##", "encrypt": "ciphertext", "grant_type": "email-password", "himei": "faede31549d649f58864093158787ec9", "password": "##_REDACTED_##", "scope": "all"}
2024-05-31 12:32:40.346 INFO (MainThread) [custom_components.hacs] 
-------------------------------------------------------------------
HACS (Home Assistant Community Store)

Version: 1.34.0
This is a custom integration
If you have any issues with this you need to open an issue here:
https://github.com/hacs/integration/issues
-------------------------------------------------------------------

2024-05-31 12:32:40.728 DEBUG (MainThread) [custom_components.hacs] Configuration type: config_entry
2024-05-31 12:32:40.747 INFO (MainThread) [custom_components.hacs] <HacsData restore> Restore started
2024-05-31 12:32:41.215 INFO (MainThread) [custom_components.hacs] <HacsData restore> Restore done
2024-05-31 12:32:41.216 INFO (MainThread) [custom_components.hacs] Enable category: integration
2024-05-31 12:32:41.217 INFO (MainThread) [custom_components.hacs] Enable category: plugin
2024-05-31 12:32:41.217 INFO (MainThread) [custom_components.hacs] Enable category: template
2024-05-31 12:32:41.218 INFO (MainThread) [custom_components.hacs] Enable category: theme
2024-05-31 12:32:41.219 INFO (MainThread) [custom_components.hacs] Enable category: appdaemon
2024-05-31 12:32:41.219 INFO (MainThread) [custom_components.hacs] <HacsFrontend> Using experimental frontend
2024-05-31 12:32:41.233 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-05-31 12:32:41.233 INFO (MainThread) [custom_components.hacs] Setting up plugin endpoint
2024-05-31 12:32:41.233 INFO (MainThread) [custom_components.hacs] <HacsFrontend> storage mode, cache for /hacsfiles/: True
2024-05-31 12:32:43.614 INFO (MainThread) [custom_components.hacs] Stage changed: setup
2024-05-31 12:32:43.616 INFO (MainThread) [custom_components.hacs] Stage changed: waiting
2024-05-31 12:32:43.616 INFO (MainThread) [custom_components.hacs] Setup complete, waiting for Home Assistant before startup tasks starts
2024-05-31 12:32:45.146 DEBUG (SyncWorker_3) [pydreo] API response: 
hacs-bot[bot] commented 1 month ago

Make sure you have read the issue guidelines and that you filled out the entire template.

If you have an issue identical to this, do not add comments like "same here", "i have this too", instead add a :+1: reaction to the issue description. Thanks! :+1:

JeffSteinbok commented 1 month ago

Note you have posted your auth token in your logs. You may want to change your password immediately.

JeffSteinbok commented 1 month ago

There was a known issue in a prior version of the Dreo integration which should now be fixed. I don't think this is what is blocking your upgrade.