wxt9861 / esxi_stats

ESXi component for Home Assistant
MIT License
147 stars 40 forks source link

Deprecated constant #111

Open Frazou1 opened 1 month ago

Frazou1 commented 1 month ago

Describe the bug I got error in HA logs and i would like to advised you

To Reproduce 2024-10-25 08:49:51.559 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'esxi_stats' 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 replacement options at custom_components/esxi_stats/__init__.py, line 143: hass.async_add_job(, please create a bug report at https://github.com/wxt9861/esxi_stats/issues 2024-10-25 08:49:51.573 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration, esxi_stats with title: 192.168.2.200 and entry_id: d52b2403a78c10efde6bcd819483d4f6, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead. Please report this issue.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

ESXi environment (please complete the following information):

Additional context Add any other context about the problem here.