Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.litterrobot.hub.LitterRobotHub Class Reference

Public Member Functions

None __init__ (self, HomeAssistant hass, Mapping[str, Any] data)
 
Generator[FeederRobot] feeder_robots (self)
 
Generator[LitterRobot] litter_robots (self)
 
None login (self, bool load_robots=False, bool subscribe_for_updates=False)
 

Public Attributes

 account
 
 coordinator
 

Private Attributes

 _data
 

Detailed Description

A Litter-Robot hub wrapper class.

Definition at line 26 of file hub.py.

Constructor & Destructor Documentation

◆ __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.

Member Function Documentation

◆ 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.

Member Data Documentation

◆ _data

homeassistant.components.litterrobot.hub.LitterRobotHub._data
private

Definition at line 31 of file hub.py.

◆ account

homeassistant.components.litterrobot.hub.LitterRobotHub.account

Definition at line 32 of file hub.py.

◆ coordinator

homeassistant.components.litterrobot.hub.LitterRobotHub.coordinator

Definition at line 39 of file hub.py.


The documentation for this class was generated from the following file: