nqkdev / home-assistant-vacuum-styj02ym

161 stars 134 forks source link

The component is using deprecated supported features values which will be removed in HA Core 2025.1. Could someone help while it's not too late? #64

Open megachammer opened 1 month ago

megachammer commented 1 month ago

I noticed a message in Server Log, so we need to be aware. 2024-07-09 10:14:03.285 WARNING (MainThread) [homeassistant.helpers.entity] Entity vacuum.mi_vacuum (<class 'custom_components.miio2.vacuum.MiroboVacuum2'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <VacuumEntityFeature.PAUSE|STOP|RETURN_HOME|FAN_SPEED|BATTERY|SEND_COMMAND|LOCATE|STATE|START: 13180>, please report it to the author of the 'miio2' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation