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

Home Assistant 2025.1.1 #681

Open
HollywoodTonight opened this issue Jan 7, 2025 · 0 comments
Open

Home Assistant 2025.1.1 #681

HollywoodTonight opened this issue Jan 7, 2025 · 0 comments

Comments

@HollywoodTonight
Copy link

Version of the custom_component

1.0.14

What vacuum are you using?

Roborock S8 MAXV Ultra

Describe the bug

Hey, I keep seeing those warnings periodically in my home assistant logs.

Debug log

2025-01-07 14:16:11.822 WARNING (MainThread) [roborock.code_mappings] Missing RoborockDockTypeCode code: 10 - defaulting to 'unknown'
2025-01-07 14:16:12.369 WARNING (ImportExecutor_0) [homeassistant.const] AREA_SQUARE_METERS was used from roborock, this is a deprecated constant which will be removed in HA Core 2025.12. Use UnitOfArea.SQUARE_METERS instead, please report it to the author of the 'roborock' custom integration
2025-01-07 14:16:12.385 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_CLEANING was used from roborock, 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 'roborock' custom integration
2025-01-07 14:16:12.389 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_DOCKED was used from roborock, 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 'roborock' custom integration
2025-01-07 14:16:12.394 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_ERROR was used from roborock, 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 'roborock' custom integration
2025-01-07 14:16:12.399 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_IDLE was used from roborock, 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 'roborock' custom integration
2025-01-07 14:16:12.403 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_PAUSED was used from roborock, 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 'roborock' custom integration
2025-01-07 14:16:12.408 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_RETURNING was used from roborock, 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 'roborock' custom integration
2025-01-07 14:16:12.412 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_CLEANING was used from roborock, 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 'roborock' custom integration
2025-01-07 14:16:12.417 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_DOCKED was used from roborock, 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 'roborock' custom integration
2025-01-07 14:16:12.422 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_ERROR was used from roborock, 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 'roborock' custom integration
2025-01-07 14:16:12.427 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_IDLE was used from roborock, 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 'roborock' custom integration
2025-01-07 14:16:12.431 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_PAUSED was used from roborock, 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 'roborock' custom integration
2025-01-07 14:16:12.435 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_RETURNING was used from roborock, 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 'roborock' custom integration
2025-01-07 14:16:12.457 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'roborock' is setting state directly. Entity None (<class 'custom_components.roborock.vacuum.RoborockVacuum'>) should implement the 'activity' property and return its state using the VacuumActivity enum at custom_components/roborock/vacuum.py, line 204: async_add_entities(entities). This will stop working in Home Assistant 2026.1, please create a bug report at https://github.com/humbertogontijo/homeassistant-roborock/issues
2025-01-07 14:16:42.460 WARNING (MainThread) [roborock.code_mappings] Missing RoborockDockTypeCode code: 10 - defaulting to 'unknown'
2025-01-07 14:17:12.460 WARNING (MainThread) [roborock.code_mappings] Missing RoborockDockTypeCode code: 10 - defaulting to 'unknown'
2025-01-07 14:17:42.461 WARNING (MainThread) [roborock.code_mappings] Missing RoborockDockTypeCode code: 10 - defaulting to 'unknown'
2025-01-07 14:18:12.460 WARNING (MainThread) [roborock.code_mappings] Missing RoborockDockTypeCode code: 10 - defaulting to 'unknown'
DanteFragapane added a commit to DanteFragapane/homeassistant-roborock that referenced this issue Jan 10, 2025
Updated vacuum.py to remove deprecated references from HA 2025.1.1, per humbertogontijo#681
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