njobrien1006 / hass_traeger

Hass Plugin for Traeger
MIT License
32 stars 2 forks source link

Traeger integration uses `async_add_job` which is deprecated and will be removed in Home Assistant 2025.4 #71

Closed bakerkj closed 6 months ago

bakerkj commented 6 months ago

System Health details

Checklist

Describe the issue

Traeger integration uses async_add_job which is deprecated and will be removed in Home Assistant 2025.4.

Details for fix can be found here: https://developers.home-assistant.io/blog/2024/03/13/deprecate_add_run_job/

2024-04-12 10:17:18.377 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'traeger' calls `async_add_job`, which is deprecated and will be removed in Home Assistant 2025.4; Please review https://developers.home-assistant.io/blog/2024/03/13/deprecate_add_run_job for replaceme
nt options at custom_components/traeger/__init__.py, line 48: hass.async_add_job(, please create a bug report at https://github.com/njobrien1006/hass_traeger/issues

Reproduction steps

  1. Install Home Assistant 2024.4.3
  2. Install Traeger integration 2024.03.29
  3. Configure integration
  4. Observe logs.
bakerkj commented 6 months ago

Possible fix in PR #72

njobrien1006 commented 6 months ago

Likely fixed with #72. I just need to test in Hass O.S. and codespaces (straight Python ENV).