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

Deprecation Warning (2026.1) - Setting state directly #109

Open
deosrc opened this issue Jan 5, 2025 · 0 comments
Open

Deprecation Warning (2026.1) - Setting state directly #109

deosrc opened this issue Jan 5, 2025 · 0 comments

Comments

@deosrc
Copy link

deosrc commented Jan 5, 2025

HA 2025.1 is showing a deprecation warning:

Detected that custom integration 'robovac' is setting state directly. Entity None (<class 'custom_components.robovac.vacuum.RoboVacEntity'>) should implement the 'activity' property and return its state using the VacuumActivity enum at custom_components/robovac/vacuum.py, line 118: async_add_entities([entity]). This will stop working in Home Assistant 2026.1, please create a bug report at https://github.com/codefoodpixels/robovac/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant