Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.bmw_connected_drive.notify Namespace Reference

Classes

class  BMWNotificationService
 

Functions

BMWNotificationService get_service (HomeAssistant hass, ConfigType config, DiscoveryInfoType|None discovery_info=None)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
list ATTR_LOCATION_ATTRIBUTES = ["street", "city", "postal_code", "country"]
 
 POI_SCHEMA
 

Detailed Description

Support for BMW notifications.

Function Documentation

◆ get_service()

BMWNotificationService homeassistant.components.bmw_connected_drive.notify.get_service ( HomeAssistant  hass,
ConfigType  config,
DiscoveryInfoType | None   discovery_info = None 
)
Get the BMW notification service.

Definition at line 41 of file notify.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.bmw_connected_drive.notify._LOGGER = logging.getLogger(__name__)
private

Definition at line 38 of file notify.py.

◆ ATTR_LOCATION_ATTRIBUTES

list homeassistant.components.bmw_connected_drive.notify.ATTR_LOCATION_ATTRIBUTES = ["street", "city", "postal_code", "country"]

Definition at line 25 of file notify.py.

◆ POI_SCHEMA

homeassistant.components.bmw_connected_drive.notify.POI_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Required(ATTR_LATITUDE): cv.latitude,
4  vol.Required(ATTR_LONGITUDE): cv.longitude,
5  vol.Optional("street"): cv.string,
6  vol.Optional("city"): cv.string,
7  vol.Optional("postal_code"): cv.string,
8  vol.Optional("country"): cv.string,
9  }
10 )

Definition at line 27 of file notify.py.