-
-
Notifications
You must be signed in to change notification settings - Fork 35.8k
Revert "Remove neato integration (#154902)" #155685
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
Conversation
This reverts commit a6c1ce8.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Hey there @joostlek, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
|
Hey there @home-assistant/core, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
|
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new Neato Botvac vacuum cleaner integration to Home Assistant, implementing OAuth2-based authentication to support newer Neato devices that require this method. The integration provides comprehensive control and monitoring of Neato robot vacuums including cleaning operations, scheduling, battery monitoring, and map visualization.
- Implements OAuth2 authentication flow with application credentials support
- Adds config flow with reauthentication support for migration from old authentication
- Provides multiple platforms: vacuum, sensor, switch, camera, and button entities
Reviewed Changes
Copilot reviewed 27 out of 30 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
homeassistant/components/neato/__init__.py |
Integration entry point with setup/unload logic |
homeassistant/components/neato/config_flow.py |
OAuth2 config flow with reauth support |
homeassistant/components/neato/api.py |
OAuth2 session implementation |
homeassistant/components/neato/application_credentials.py |
Application credentials platform |
homeassistant/components/neato/hub.py |
Central hub for managing robot data |
homeassistant/components/neato/entity.py |
Base entity class |
homeassistant/components/neato/vacuum.py |
Vacuum platform with custom cleaning service |
homeassistant/components/neato/sensor.py |
Battery sensor entity |
homeassistant/components/neato/switch.py |
Schedule switch entity |
homeassistant/components/neato/camera.py |
Cleaning map camera entity |
homeassistant/components/neato/button.py |
Dismiss alert button entity |
homeassistant/components/neato/const.py |
Domain constants and mappings |
homeassistant/components/neato/strings.json |
Translations for UI |
homeassistant/components/neato/services.yaml |
Service definitions |
homeassistant/components/neato/icons.json |
Service icon mappings |
homeassistant/components/neato/manifest.json |
Integration metadata |
tests/components/neato/test_config_flow.py |
Config flow tests |
| Various test fixtures and config files | Updates for alerts and analytics data |
Comments suppressed due to low confidence (1)
homeassistant/components/neato/const.py:1
- The constant
BATTERYis defined but never used in the codebase. It should be removed to reduce clutter.
"""Constants for Neato integration."""
Proposed change
There are still some users reporting this integration as functional (see #154902 (comment)), so we discussed and decided to keep the integration for now and re-consider the removal later.
This reverts commit a6c1ce8.
Type of change
Additional information
Checklist
ruff format homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all.To help with the load of incoming pull requests: