Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.lg_thinq.vacuum Namespace Reference

Classes

class  State
 
class  ThinQStateVacuumEntity
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
dictionary ROBOT_BATT_TO_HA
 
dictionary ROBOT_STATUS_TO_HA
 

Detailed Description

Support for vacuum entities.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.lg_thinq.vacuum.async_setup_entry ( HomeAssistant  hass,
ThinqConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up an entry for vacuum platform.

Definition at line 77 of file vacuum.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.lg_thinq.vacuum._LOGGER = logging.getLogger(__name__)
private

Definition at line 74 of file vacuum.py.

◆ ROBOT_BATT_TO_HA

dictionary homeassistant.components.lg_thinq.vacuum.ROBOT_BATT_TO_HA
Initial value:
1 = {
2  "moveless": 5,
3  "dock_level": 5,
4  "low": 30,
5  "mid": 50,
6  "high": 90,
7  "full": 100,
8  "over_charge": 100,
9 }

Definition at line 65 of file vacuum.py.

◆ ROBOT_STATUS_TO_HA

dictionary homeassistant.components.lg_thinq.vacuum.ROBOT_STATUS_TO_HA
Initial value:
1 = {
2  "charging": STATE_DOCKED,
3  "diagnosis": STATE_IDLE,
4  "homing": STATE_RETURNING,
5  "initializing": STATE_IDLE,
6  "macrosector": STATE_IDLE,
7  "monitoring_detecting": STATE_IDLE,
8  "monitoring_moving": STATE_IDLE,
9  "monitoring_positioning": STATE_IDLE,
10  "pause": STATE_PAUSED,
11  "reservation": STATE_IDLE,
12  "setdate": STATE_IDLE,
13  "sleep": STATE_IDLE,
14  "standby": STATE_IDLE,
15  "working": STATE_CLEANING,
16  "error": STATE_ERROR,
17 }

Definition at line 48 of file vacuum.py.