deprecated constants
Closed this issue · 0 comments
2024-01-05 18:18:17.084 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from wellbeing, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/JohNan/homeassistant-wellbeing/issues
also the following constants:
- SUPPORT_SET_SPEED
- SUPPORT_PRESET_MODE
2024-01-05 18:18:25.333 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.wellbeing_Air purifier_Fanspeed (<class 'custom_components.wellbeing.fan.WellbeingFan'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <FanEntityFeature.SET_SPEED|PRESET_MODE: 9>, please create a bug report at https://github.com/JohNan/homeassistant-wellbeing/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation