Hey.
I got a problem with integration Philips-Airpurifier:
Entity None (<class ‘custom_components.philips_airpurifier.fan.PhilipsAirPurifierFan’>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <FanEntityFeature.PRESET_MODE: 8>, please report it to the author of the ‘philips_airpurifier’ custom integration and reference Deprecating all magic numbers for supported features | Home Assistant Developer Docs
SUPPORT_PRESET_MODE was used from philips_airpurifier, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.PRESET_MODE instead, please report it to the author of the ‘philips_airpurifier’ custom integration
I need some help with this.
Repository: https://github.com/AcidSleeper/Philips-Airpurifier/tree/main/philips_airpurifier
The file is located in the link and the filename is: fan.py
SUPPORT_PRESET_MODE occurs on line 14 and 294.
I dont know how to change this so its accepted by HA.
Thanks in advance for any input!