Classes | |
| class | XiaomiGenericSwitch |
Functions | |
| None | async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| string | ATTR_IN_USE = "in_use" |
| string | ATTR_LOAD_POWER = "load_power" |
| string | ATTR_POWER_CONSUMED = "power_consumed" |
| string | ENERGY_CONSUMED = "energy_consumed" |
| string | IN_USE = "inuse" |
| string | LOAD_POWER = "load_power" |
| string | POWER_CONSUMED = "power_consumed" |
Support for Xiaomi Aqara binary sensors.
| None homeassistant.components.xiaomi_aqara.switch.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
|
private |
| 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" |