epoplavskis / homeassistant_salus

Home Assistant integration with Salus devices
MIT License
48 stars 17 forks source link

Will stop working at 2025.1 - "code that calls async_forward_entry_setup" and "deprecated supported features values" #68

Open snigehere opened 1 week ago

snigehere commented 1 week ago

I see multiple issues reported in the logs where support for deprecated stuff is ending

The next critical ones for me stop in 2025.1 - two issues reported:

2024-11-11 14:34:40.794 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration salus with title: xxxxxx and entry_id: yyyyyyyyyyyyyyyyyyyyy, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.

2024-11-11 14:34:40.786 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.salus.climate.SalusThermostat'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE|PRESET_MODE: 17>, please create a bug report at https://github.com/jvitkauskas/homeassistant_salus/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation