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

Deprecation Warning in hacs/base.py #3767

Closed jimjaeger closed 3 weeks ago

jimjaeger commented 3 weeks ago

System Health details

System Information

version core-2024.6.0
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 Europe/Berlin
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4961 Installed Version | 1.34.0 Stage | running Available Repositories | 1393 Downloaded Repositories | 4 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.3 -- | -- update_channel | stable supervisor_version | supervisor-2024.06.0 agent_version | 1.6.0 docker_version | 25.0.5 disk_total | 219.3 GB disk_used | 8.8 GB healthy | true supported | true host_connectivity | true supervisor_connectivity | true ntp_synchronized | true virtualization | board | rpi5-64 supervisor_api | ok version_api | ok installed_addons | Advanced SSH & Web Terminal (18.0.0), Log Viewer (0.17.0), MQTT Explorer (browser-1.0.3), File editor (5.8.0), Studio Code Server (5.15.0), Traccar (0.25.0)
Dashboards dashboards | 2 -- | -- resources | 1 views | 0 mode | storage
Recorder oldest_recorder_run | 30. Mai 2024 um 18:34 -- | -- current_recorder_run | 7. Juni 2024 um 09:48 estimated_db_size | 604.21 MiB database_engine | sqlite database_version | 3.44.2

Checklist

Describe the issue

Hi there is a deprecation warning in HA log for hacs/base.py.

WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.helpers.event. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from event directly at custom_components/hacs/base.py, line 642: self.hass.helpers.event.async_track_time_interval(, please create a bug report at https://github.com/hacs/integration/issues

Reproduction steps

  1. Install HACS
  2. Open HA Log

Debug logs

-

Diagnostics dump

No response

hacs-bot[bot] commented 3 weeks 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:

jimjaeger commented 3 weeks ago

I am curious why the issue has been closed immediately...

ludeeus commented 3 weeks ago

image

jimjaeger commented 3 weeks ago

Ah ok, I searched for base.py but did not find a duplicate. Good to see that it is already adressed. Thanks.