Home Assistant Unofficial Reference 2024.12.1
switch.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.xiaomi_aqara.switch.XiaomiGenericSwitch
 

Namespaces

 homeassistant.components.xiaomi_aqara.switch
 

Functions

None homeassistant.components.xiaomi_aqara.switch.async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

 homeassistant.components.xiaomi_aqara.switch._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.xiaomi_aqara.switch.ATTR_IN_USE = "in_use"
 
string homeassistant.components.xiaomi_aqara.switch.ATTR_LOAD_POWER = "load_power"
 
string homeassistant.components.xiaomi_aqara.switch.ATTR_POWER_CONSUMED = "power_consumed"
 
string homeassistant.components.xiaomi_aqara.switch.ENERGY_CONSUMED = "energy_consumed"
 
string homeassistant.components.xiaomi_aqara.switch.IN_USE = "inuse"
 
string homeassistant.components.xiaomi_aqara.switch.LOAD_POWER = "load_power"
 
string homeassistant.components.xiaomi_aqara.switch.POWER_CONSUMED = "power_consumed"