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

Classes

class  EcovacsLegacyVacuum
 
class  EcovacsVacuum
 

Functions

None async_setup_entry (HomeAssistant hass, EcovacsConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

string _ATTR_ROOMS = "rooms"
 
 _LOGGER = logging.getLogger(__name__)
 
dictionary _STATE_TO_VACUUM_STATE
 
string ATTR_COMPONENT_PREFIX = "component_"
 
string ATTR_ERROR = "error"
 
string SERVICE_RAW_GET_POSITIONS = "raw_get_positions"
 

Detailed Description

Support for Ecovacs Ecovacs Vacuums.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.ecovacs.vacuum.async_setup_entry ( HomeAssistant  hass,
EcovacsConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the Ecovacs vacuums.

Definition at line 46 of file vacuum.py.

Variable Documentation

◆ _ATTR_ROOMS

string homeassistant.components.ecovacs.vacuum._ATTR_ROOMS = "rooms"
private

Definition at line 236 of file vacuum.py.

◆ _LOGGER

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

Definition at line 38 of file vacuum.py.

◆ _STATE_TO_VACUUM_STATE

dictionary homeassistant.components.ecovacs.vacuum._STATE_TO_VACUUM_STATE
private
Initial value:
1 = {
2  State.IDLE: STATE_IDLE,
3  State.CLEANING: STATE_CLEANING,
4  State.RETURNING: STATE_RETURNING,
5  State.DOCKED: STATE_DOCKED,
6  State.ERROR: STATE_ERROR,
7  State.PAUSED: STATE_PAUSED,
8 }

Definition at line 227 of file vacuum.py.

◆ ATTR_COMPONENT_PREFIX

string homeassistant.components.ecovacs.vacuum.ATTR_COMPONENT_PREFIX = "component_"

Definition at line 41 of file vacuum.py.

◆ ATTR_ERROR

string homeassistant.components.ecovacs.vacuum.ATTR_ERROR = "error"

Definition at line 40 of file vacuum.py.

◆ SERVICE_RAW_GET_POSITIONS

string homeassistant.components.ecovacs.vacuum.SERVICE_RAW_GET_POSITIONS = "raw_get_positions"

Definition at line 43 of file vacuum.py.