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

Add Roomba support for automatic emptying of bin #43594

Merged
merged 5 commits into from
Nov 26, 2020
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/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 @@ -1954,7 +1954,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 @@ -947,7 +947,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