Refactor Neato botvac components as a vacuum (#9946)
* Refactor Neato botvac components as a vacuum A switch is still use to enable/disable the schedule Signed-off-by: Hugo D. (jabesq) <jabesq@gmail.com> * CI Hound fixes * Fix lint errors Signed-off-by: Hugo D. (jabesq) <jabesq@gmail.com> * [Neato vacumm] Add sensor attributes to vacuum Signed-off-by: Hugo D. (jabesq) <jabesq@gmail.com> * Remove line breaks and fix docstring * PR fixes
This commit is contained in:
1 parent
4e8e04fe66
commit
1347c3191f
4 files changed
+219
-199
No files matched your search
@@ -90,7 +90,7 @@ def setup(hass, config):
|
||||
_LOGGER.debug("Failed to login to Neato API")
|
||||
return False
|
||||
hub.update_robots()
|
||||
for component in ('camera', 'sensor', 'switch'):
|
||||
for component in ('camera', 'vacuum', 'switch'):
|
||||
discovery.load_platform(hass, component, DOMAIN, {}, config)
|
||||
|
||||
return True
|
||||
|
||||
Reference in new issue
Block a user