Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion homeassistant/components/neato.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

_LOGGER = logging.getLogger(__name__)

REQUIREMENTS = ['pybotvac==0.0.7']
REQUIREMENTS = ['pybotvac==0.0.8']

DOMAIN = 'neato'
NEATO_ROBOTS = 'neato_robots'
Expand Down
9 changes: 7 additions & 2 deletions homeassistant/components/vacuum/neato.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
from homeassistant.components.vacuum import (
VacuumDevice, SUPPORT_BATTERY, SUPPORT_PAUSE, SUPPORT_RETURN_HOME,
SUPPORT_STATUS, SUPPORT_STOP, SUPPORT_TURN_OFF, SUPPORT_TURN_ON,
SUPPORT_MAP, ATTR_STATUS, ATTR_BATTERY_LEVEL, ATTR_BATTERY_ICON)
SUPPORT_MAP, ATTR_STATUS, ATTR_BATTERY_LEVEL, ATTR_BATTERY_ICON,
SUPPORT_LOCATE)
from homeassistant.components.neato import (
NEATO_ROBOTS, NEATO_LOGIN, NEATO_MAP_DATA, ACTION, ERRORS, MODE, ALERTS)

Expand All @@ -24,7 +25,7 @@

SUPPORT_NEATO = SUPPORT_BATTERY | SUPPORT_PAUSE | SUPPORT_RETURN_HOME | \
SUPPORT_STOP | SUPPORT_TURN_OFF | SUPPORT_TURN_ON | \
SUPPORT_STATUS | SUPPORT_MAP
SUPPORT_STATUS | SUPPORT_MAP | SUPPORT_LOCATE

ATTR_CLEAN_START = 'clean_start'
ATTR_CLEAN_STOP = 'clean_stop'
Expand Down Expand Up @@ -211,3 +212,7 @@ def start_pause(self, **kwargs):
self.robot.pause_cleaning()
if self._state['state'] == 3:
self.robot.resume_cleaning()

def locate(self, **kwargs):
"""Locate the robot by making it emit a sound."""
self.robot.locate()
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ pyblackbird==0.5
# pybluez==0.22

# homeassistant.components.neato
pybotvac==0.0.7
pybotvac==0.0.8

# homeassistant.components.cloudflare
pycfdns==0.0.1
Expand Down