Classes | |
| class | BMWSwitch |
| class | BMWSwitchEntityDescription |
Functions | |
| None | async_setup_entry (HomeAssistant hass, BMWConfigEntry config_entry, AddEntitiesCallback async_add_entities) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| dictionary | CHARGING_STATE_ON |
| coordinator = config_entry.runtime_data.coordinator | |
| is_available | |
| key | |
| remote_service_off | |
| remote_service_on | |
| translation_key | |
| value_fn | |
Switch platform for BMW.
| None homeassistant.components.bmw_connected_drive.switch.async_setup_entry | ( | HomeAssistant | hass, |
| BMWConfigEntry | config_entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
|
private |
| dictionary homeassistant.components.bmw_connected_drive.switch.CHARGING_STATE_ON |
| homeassistant.components.bmw_connected_drive.switch.coordinator = config_entry.runtime_data.coordinator |
| homeassistant.components.bmw_connected_drive.switch.is_available |
| homeassistant.components.bmw_connected_drive.switch.remote_service_off |
| homeassistant.components.bmw_connected_drive.switch.remote_service_on |
| homeassistant.components.bmw_connected_drive.switch.translation_key |