thomasloven / hass-fontawesome

🔹 Use icons from fontawesome in home-assistant
Other
283 stars 52 forks source link

Detected that custom integration 'fontawesome' calls hass.http.register_static_path which is deprecated #86

Closed Kertz1954 closed 2 weeks ago

Kertz1954 commented 3 months ago

Upgraded HA from 2024.6.4 to 2024.7.0b0 and received the following Warning message.

Detected that custom integration 'fontawesome' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call await hass.http.async_register_static_path([StaticPathConfig("/fontawesome/main.js", "/config/custom_components/fontawesome/main.js", True)]); This function will be removed in 2025.7 at custom_components/fontawesome/init.py, line 50: hass.http.register_static_path(, please report it to the author of the 'fontawesome' custom integration Detected that custom integration 'fontawesome' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call await hass.http.async_register_static_path([StaticPathConfig("/fontawesome/icons/brands", "/config/custom_components/fontawesome/data/brands", True)]); This function will be removed in 2025.7 at custom_components/fontawesome/init.py, line 58: hass.http.register_static_path(, please report it to the author of the 'fontawesome' custom integration Detected that custom integration 'fontawesome' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call await hass.http.async_register_static_path([StaticPathConfig("/fontawesome/icons/pro", "/config/custom_icons", True)]); This function will be removed in 2025.7 at custom_components/fontawesome/init.py, line 69: hass.http.register_static_path(, please report it to the author of the 'fontawesome' custom integration

misa1515 commented 1 month ago

2024-09-13_19-13-50