Skip to content

Commit

Permalink
Add Roomba support for automatic emptying of bin (#43594)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasperslits authored Nov 26, 2020
1 parent dc8364f commit f3033ec
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/roomba/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import logging

import async_timeout
from roomba import Roomba, RoombaConnectionError
from roombapy import Roomba, RoombaConnectionError
import voluptuous as vol

from homeassistant import config_entries, exceptions
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/roomba/config_flow.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Config flow to configure roomba component."""
from roomba import Roomba
from roombapy import Roomba
import voluptuous as vol

from homeassistant import config_entries, core
Expand Down
1 change: 1 addition & 0 deletions homeassistant/components/roomba/irobot_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
STATE_MAP = {
"": STATE_IDLE,
"charge": STATE_DOCKED,
"evac": STATE_RETURNING, # Emptying at cleanbase
"hmMidMsn": STATE_CLEANING, # Recharging at the middle of a cycle
"hmPostMsn": STATE_RETURNING, # Cycle finished
"hmUsrDock": STATE_RETURNING,
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/roomba/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"name": "iRobot Roomba",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/roomba",
"requirements": ["roombapy==1.6.1"],
"requirements": ["roombapy==1.6.2"],
"codeowners": ["@pschmitt", "@cyr-ius", "@shenxn"]
}
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1957,7 +1957,7 @@ rocketchat-API==0.6.1
rokuecp==0.6.0

# homeassistant.components.roomba
roombapy==1.6.1
roombapy==1.6.2

# homeassistant.components.roon
roonapi==0.0.25
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ ring_doorbell==0.6.0
rokuecp==0.6.0

# homeassistant.components.roomba
roombapy==1.6.1
roombapy==1.6.2

# homeassistant.components.roon
roonapi==0.0.25
Expand Down
2 changes: 1 addition & 1 deletion tests/components/roomba/test_config_flow.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Test the iRobot Roomba config flow."""
from roomba import RoombaConnectionError
from roombapy import RoombaConnectionError

from homeassistant import config_entries, data_entry_flow, setup
from homeassistant.components.roomba.const import (
Expand Down

0 comments on commit f3033ec

Please sign in to comment.