Classes | |
| class | DevoloSwitchEntity |
| class | DevoloSwitchEntityDescription |
Functions | |
| None | __init__ (self, DevoloHomeNetworkConfigEntry entry, DevoloDataUpdateCoordinator[_DataT] coordinator, DevoloSwitchEntityDescription[_DataT] description) |
| None | async_setup_entry (HomeAssistant hass, DevoloHomeNetworkConfigEntry entry, AddEntitiesCallback async_add_entities) |
| None | async_turn_off (self, **Any kwargs) |
| None | async_turn_on (self, **Any kwargs) |
| bool | is_on (self) |
Variables | |
| _DataType | |
| coordinators = entry.runtime_data.coordinators | |
| device = entry.runtime_data.device | |
| entity_category | |
| entity_description | |
| is_on_func | |
| key | |
| int | PARALLEL_UPDATES = 0 |
| turn_off_func | |
| turn_on_func | |
Platform for switch integration.
| None homeassistant.components.devolo_home_network.switch.__init__ | ( | self, | |
| DevoloHomeNetworkConfigEntry | entry, | ||
| DevoloDataUpdateCoordinator[_DataT] | coordinator, | ||
| DevoloSwitchEntityDescription[_DataT] | description | ||
| ) |
| None homeassistant.components.devolo_home_network.switch.async_setup_entry | ( | HomeAssistant | hass, |
| DevoloHomeNetworkConfigEntry | entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
| None homeassistant.components.devolo_home_network.switch.async_turn_off | ( | self, | |
| **Any | kwargs | ||
| ) |
| None homeassistant.components.devolo_home_network.switch.async_turn_on | ( | self, | |
| **Any | kwargs | ||
| ) |
| bool homeassistant.components.devolo_home_network.switch.is_on | ( | self | ) |
|
private |
| homeassistant.components.devolo_home_network.switch.coordinators = entry.runtime_data.coordinators |
| homeassistant.components.devolo_home_network.switch.device = entry.runtime_data.device |
| homeassistant.components.devolo_home_network.switch.entity_category |
| homeassistant.components.devolo_home_network.switch.entity_description |
| homeassistant.components.devolo_home_network.switch.is_on_func |
| homeassistant.components.devolo_home_network.switch.key |
| int homeassistant.components.devolo_home_network.switch.PARALLEL_UPDATES = 0 |
| homeassistant.components.devolo_home_network.switch.turn_off_func |