Add service to stop air conditioning to bmw_connected_drive (#57772)

Co-authored-by: rikroe <rikroe@users.noreply.github.com>
This commit is contained in:
rikroe
2021-10-19 08:46:04 +02:00
committed by GitHub
parent 708f2ae089
commit 8debb7c784
2 changed files with 23 additions and 0 deletions

View File

@@ -74,6 +74,7 @@ _SERVICE_MAP = {
"light_flash": "trigger_remote_light_flash",
"sound_horn": "trigger_remote_horn",
"activate_air_conditioning": "trigger_remote_air_conditioning",
"deactivate_air_conditioning": "trigger_remote_air_conditioning_stop",
"find_vehicle": "trigger_remote_vehicle_finder",
}

View File

@@ -68,6 +68,28 @@ activate_air_conditioning:
selector:
text:
deactivate_air_conditioning:
name: Deactivate air conditioning
description: >
Stops the air conditioning of the vehicle. This only works on newer vehicles if you also
have the option in the MyBMW app. The vehicle is identified either via its
device entry or the VIN. If a VIN is specified, the device entry will be ignored.
fields:
device_id:
name: Car
description: The BMW Connected Drive device
selector:
device:
integration: bmw_connected_drive
vin:
name: VIN
description: The vehicle identification number (VIN) of the vehicle, 17 characters
advanced: true
required: false
example: WBANXXXXXX1234567
selector:
text:
find_vehicle:
name: Find vehicle
description: >