A Litter-Robot hub wrapper class.
Definition at line 26 of file hub.py.
◆ __init__()
| None homeassistant.components.litterrobot.hub.LitterRobotHub.__init__ |
( |
|
self, |
|
|
HomeAssistant |
hass, |
|
|
Mapping[str, Any] |
data |
|
) |
| |
Initialize the Litter-Robot hub.
Definition at line 29 of file hub.py.
◆ feeder_robots()
| Generator[FeederRobot] homeassistant.components.litterrobot.hub.LitterRobotHub.feeder_robots |
( |
|
self | ) |
|
Get Feeder-Robots from the account.
Definition at line 69 of file hub.py.
◆ litter_robots()
| Generator[LitterRobot] homeassistant.components.litterrobot.hub.LitterRobotHub.litter_robots |
( |
|
self | ) |
|
Get Litter-Robots from the account.
Definition at line 63 of file hub.py.
◆ login()
| None homeassistant.components.litterrobot.hub.LitterRobotHub.login |
( |
|
self, |
|
|
bool |
load_robots = False, |
|
|
bool |
subscribe_for_updates = False |
|
) |
| |
Login to Litter-Robot.
Definition at line 47 of file hub.py.
◆ _data
| homeassistant.components.litterrobot.hub.LitterRobotHub._data |
|
private |
◆ account
| homeassistant.components.litterrobot.hub.LitterRobotHub.account |
◆ coordinator
| homeassistant.components.litterrobot.hub.LitterRobotHub.coordinator |
The documentation for this class was generated from the following file:
- core/homeassistant/components/litterrobot/hub.py