catlink icon indicating copy to clipboard operation
catlink copied to clipboard

Deprecate hass.helpers usage (stop working in Home Assistant 2024.11)

Open pantan-cymk opened this issue 1 year ago • 0 comments

Recently, the following warning was output to the log.

2024-08-17 13:51:00.457 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'catlink' accesses hass.helpers.discovery. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from discovery directly at custom_components/catlink/__init__.py, line 116: hass.helpers.discovery.async_load_platform(platform, DOMAIN, {}, config), please create a bug report at https://github.com/hasscc/catlink/issues

After checking, I found that the way to access helpers has changed. Source 1 Source 2

This change is in response to this.

pantan-cymk avatar Aug 18 '24 08:08 pantan-cymk