Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HA 2025.1 new vacuum STATE deprecation warnings due for removal in 2026.1 #240

Open
AnthonyBe opened this issue Jan 8, 2025 · 0 comments
Labels
deprecation Something in HA is marked as deprecated and should be fixed.

Comments

@AnthonyBe
Copy link

AnthonyBe commented Jan 8, 2025

There are a lot of them so figured a generic issue to capture them all made most sense:

2025-01-07 20:59:29.909 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_DOCKED was used from mydolphin_plus, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.DOCKED instead, please report it to the author of the 'mydolphin_plus' custom integration

2025-01-07 20:59:29.977 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_CLEANING was used from mydolphin_plus, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.CLEANING instead, please report it to the author of the 'mydolphin_plus' custom integration

2025-01-07 20:59:29.990 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_ERROR was used from mydolphin_plus, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.ERROR instead, please report it to the author of the 'mydolphin_plus' custom integration

2025-01-07 20:59:29.996 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_RETURNING was used from mydolphin_plus, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.RETURNING instead, please report it to the author of the 'mydolphin_plus' custom integration

2025-01-07 21:00:37.759 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'mydolphin_plus' is setting state directly. Entity vacuum.aquawize_aw6 (<class 'custom_components.mydolphin_plus.vacuum.MyDolphinPlusLightEntity'>) should implement the 'activity' property and return its state using the VacuumActivity enum at custom_components/mydolphin_plus/vacuum.py, line 102: self._attr_state = state. This will stop working in Home Assistant 2026.1, please create a bug report at https://github.com/sh00t2kill/dolphin-robot/issues

Dev Blog ref: https://developers.home-assistant.io/blog/2024/12/08/new-vacuum-state-property/
Doc Ref: https://developers.home-assistant.io/docs/core/entity/vacuum/#states

@sh00t2kill sh00t2kill added the deprecation Something in HA is marked as deprecated and should be fixed. label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecation Something in HA is marked as deprecated and should be fixed.
Projects
None yet
Development

No branches or pull requests

2 participants