Home Assistant Unofficial Reference 2024.12.1
__init__.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.nissan_leaf.LeafDataStore
 

Namespaces

 homeassistant.components.nissan_leaf
 

Functions

datetime|None homeassistant.components.nissan_leaf._extract_start_date (CarwingsLatestBatteryStatusResponse battery_info)
 
bool homeassistant.components.nissan_leaf.setup (HomeAssistant hass, ConfigType config)
 

Variables

 homeassistant.components.nissan_leaf._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.nissan_leaf.ATTR_VIN = "vin"
 
 homeassistant.components.nissan_leaf.CONFIG_SCHEMA
 
list homeassistant.components.nissan_leaf.PLATFORMS = [Platform.BINARY_SENSOR, Platform.BUTTON, Platform.SENSOR, Platform.SWITCH]
 
string homeassistant.components.nissan_leaf.SERVICE_START_CHARGE_LEAF = "start_charge"
 
string homeassistant.components.nissan_leaf.SERVICE_UPDATE_LEAF = "update"
 
 homeassistant.components.nissan_leaf.START_CHARGE_LEAF_SCHEMA = vol.Schema({vol.Required(ATTR_VIN): cv.string})
 
 homeassistant.components.nissan_leaf.UPDATE_LEAF_SCHEMA = vol.Schema({vol.Required(ATTR_VIN): cv.string})