hacs / integration

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

use of deprecated async_track_time_interval; removal scheduled for Home Assistant 2024.11 #3944

Closed DanceMore closed 1 month ago

DanceMore commented 1 month ago

System Health details

System Information

version core-2024.7.4
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 5.10.0-11-amd64
arch x86_64
timezone America/Los_Angeles
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4794 Installed Version | 1.34.0 Stage | running Available Repositories | 1385 Downloaded Repositories | 15
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Dashboards dashboards | 3 -- | -- resources | 8 views | 6 mode | storage
Recorder oldest_recorder_run | July 31, 2024 at 2:20 PM -- | -- current_recorder_run | August 6, 2024 at 10:56 AM estimated_db_size | 867.25 MiB database_engine | postgresql database_version | 14.12

Checklist

Describe the issue

simple detection of deprecation warning while chasing bugs / ghosts in other plugins and integrations.

mostly submitting for triage because I was surprised it's not already open and I'm subscribing to all the open deprecation issues I find :)

2024-08-06 10:56:14.211 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 630: self.hass.helpers.event.async_track_time_interval(, please create a bug report at https://github.com/hacs/integration/issues

I guess I am technically unsure if this is Backend or Frontend. helpers.frame sounds like a UI component, but a deprecation log at start is the kind of thing Backend nerds like myself notice.

Reproduction steps

  1. restart HomeAssistant
  2. notice the deprecation warning

Debug logs

should not be required to triage a deprecation warning

Diagnostics dump

No 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:

DanceMore commented 1 month ago

can you show me the dupe because I really tried to find it.

tjorim commented 1 month ago

https://github.com/hacs/integration/issues/3879 https://github.com/hacs/integration/issues/3869 https://github.com/hacs/integration/issues/3863 https://github.com/hacs/integration/issues/3801 ...

DanceMore commented 1 month ago

🤦 I even linked the Search Query I used, I guess it was too strict or Github Search is bad.

sorry for the noise, I guess today I am a noob. 🤦