BMW: Fix check_control_message short description (#57998)

Co-authored-by: rikroe <rikroe@users.noreply.github.com>
This commit is contained in:
rikroe 2021-10-19 04:28:19 +02:00 committed by GitHub
parent 5138efcd92
commit 58417f509b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -137,7 +137,7 @@ class BMWConnectedDriveSensor(BMWConnectedDriveBaseEntity, BinarySensorEntity):
if has_check_control_messages:
cbs_list = []
for message in check_control_messages:
cbs_list.append(message["ccmDescriptionShort"])
cbs_list.append(message.description_short)
result["check_control_messages"] = cbs_list
else:
result["check_control_messages"] = "OK"

View File

@ -2,7 +2,7 @@
"domain": "bmw_connected_drive",
"name": "BMW Connected Drive",
"documentation": "https://www.home-assistant.io/integrations/bmw_connected_drive",
"requirements": ["bimmer_connected==0.7.20"],
"requirements": ["bimmer_connected==0.7.21"],
"codeowners": ["@gerard33", "@rikroe"],
"config_flow": true,
"iot_class": "cloud_polling"

View File

@ -384,7 +384,7 @@ beautifulsoup4==4.10.0
bellows==0.28.0
# homeassistant.components.bmw_connected_drive
bimmer_connected==0.7.20
bimmer_connected==0.7.21
# homeassistant.components.bizkaibus
bizkaibus==0.1.1

View File

@ -248,7 +248,7 @@ base36==0.1.1
bellows==0.28.0
# homeassistant.components.bmw_connected_drive
bimmer_connected==0.7.20
bimmer_connected==0.7.21
# homeassistant.components.blebox
blebox_uniapi==1.3.3