Skip to content
New issue

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

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

Already on GitHub? # to your account

Deprication warning for 2026.1 #845

Open
ChristophCaina opened this issue Jan 8, 2025 · 0 comments
Open

Deprication warning for 2026.1 #845

ChristophCaina opened this issue Jan 8, 2025 · 0 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@ChristophCaina
Copy link
Contributor

Describe the bug
the following is depricated and will be removed in 2026.1

STATE_DOCKED was used from dreame_vacuum, 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 'dreame_vacuum' custom integration
STATE_ERROR was used from dreame_vacuum, 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 'dreame_vacuum' custom integration
STATE_IDLE was used from dreame_vacuum, this is a deprecated constant which will be removed in HA Core 2026.1.
Use VacuumActivity.IDLE instead, please report it to the author of the 'dreame_vacuum' custom integration
STATE_PAUSED was used from dreame_vacuum, this is a deprecated constant which will be removed in HA Core 2026.1.
Use VacuumActivity.PAUSED instead, please report it to the author of the 'dreame_vacuum' custom integration
STATE_RETURNING was used from dreame_vacuum, 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 'dreame_vacuum' custom integration

To Reproduce
Deprication came with 2025.1

Expected behavior

Screenshots

Additional Information (please complete the following information)

  • Model Name [e.g. dreame.vacuum.p2028]: N/A
  • Firmware Version [e.g. 1156]: N/A
  • Home Assistant Version: N/A
  • Configuration Type [With or without map support]: N/A
  • Errors or warnings shown in the HA logs (if applicable): N/A
@ChristophCaina ChristophCaina added bug Something isn't working question Further information is requested labels Jan 8, 2025
ChristophCaina added a commit to ChristophCaina/dreame-vacuum that referenced this issue Jan 8, 2025
changed vacuum STATE_xyz to VacuumActivity.xyz.
This will fix the deprication warning for 2026.1 introduced with HA 2025.1
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants