Add litterrobot integration (#45886)
This commit is contained in:
parent
668574c48f
commit
e70d896e1b
18 changed files with 676 additions and 0 deletions
24
tests/components/litterrobot/common.py
Normal file
24
tests/components/litterrobot/common.py
Normal file
|
@ -0,0 +1,24 @@
|
|||
"""Common utils for Litter-Robot tests."""
|
||||
from homeassistant.components.litterrobot import DOMAIN
|
||||
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME
|
||||
|
||||
BASE_PATH = "homeassistant.components.litterrobot"
|
||||
CONFIG = {DOMAIN: {CONF_USERNAME: "user@example.com", CONF_PASSWORD: "password"}}
|
||||
|
||||
ROBOT_NAME = "Test"
|
||||
ROBOT_SERIAL = "LR3C012345"
|
||||
ROBOT_DATA = {
|
||||
"powerStatus": "AC",
|
||||
"lastSeen": "2021-02-01T15:30:00.000000",
|
||||
"cleanCycleWaitTimeMinutes": "7",
|
||||
"unitStatus": "RDY",
|
||||
"litterRobotNickname": ROBOT_NAME,
|
||||
"cycleCount": "15",
|
||||
"panelLockActive": "0",
|
||||
"cyclesAfterDrawerFull": "0",
|
||||
"litterRobotSerial": ROBOT_SERIAL,
|
||||
"cycleCapacity": "30",
|
||||
"litterRobotId": "a0123b4567cd8e",
|
||||
"nightLightActive": "1",
|
||||
"sleepModeActive": "112:50:19",
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue