Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.litterrobot.button Namespace Reference

Classes

class  LitterRobotButtonEntity
 
class  RequiredKeysMixin
 
class  RobotButtonEntityDescription
 

Functions

None async_setup_entry (HomeAssistant hass, LitterRobotConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

 FEEDER_ROBOT_BUTTON
 
 LITTER_ROBOT_BUTTON
 

Detailed Description

Support for Litter-Robot button.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.litterrobot.button.async_setup_entry ( HomeAssistant  hass,
LitterRobotConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up Litter-Robot cleaner using config entry.

Definition at line 21 of file button.py.

Variable Documentation

◆ FEEDER_ROBOT_BUTTON

homeassistant.components.litterrobot.button.FEEDER_ROBOT_BUTTON
Initial value:
1 = RobotButtonEntityDescription[FeederRobot](
2  key="give_snack",
3  translation_key="give_snack",
4  press_fn=lambda robot: robot.give_snack(),
5 )

Definition at line 66 of file button.py.

◆ LITTER_ROBOT_BUTTON

homeassistant.components.litterrobot.button.LITTER_ROBOT_BUTTON
Initial value:
1 = RobotButtonEntityDescription[LitterRobot3](
2  key="reset_waste_drawer",
3  translation_key="reset_waste_drawer",
4  entity_category=EntityCategory.CONFIG,
5  press_fn=lambda robot: robot.reset_waste_drawer(),
6 )

Definition at line 60 of file button.py.