From 6490ec87f3bdd5955fa9cd60acc3dc0e70646052 Mon Sep 17 00:00:00 2001 From: Gerard Date: Wed, 26 Sep 2018 08:24:59 +0200 Subject: [PATCH] Upgrade to bimmer_connected 0.5.3 (#16877) --- .../components/binary_sensor/bmw_connected_drive.py | 5 ++++- homeassistant/components/bmw_connected_drive/__init__.py | 2 +- requirements_all.txt | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/binary_sensor/bmw_connected_drive.py b/homeassistant/components/binary_sensor/bmw_connected_drive.py index 36229828d63..e3b1a941bd2 100644 --- a/homeassistant/components/binary_sensor/bmw_connected_drive.py +++ b/homeassistant/components/binary_sensor/bmw_connected_drive.py @@ -124,7 +124,10 @@ class BMWConnectedDriveSensor(BinarySensorDevice): if not check_control_messages: result['check_control_messages'] = 'OK' else: - result['check_control_messages'] = check_control_messages + cbs_list = [] + for message in check_control_messages: + cbs_list.append(message['ccmDescriptionShort']) + result['check_control_messages'] = cbs_list elif self._attribute == 'charging_status': result['charging_status'] = vehicle_state.charging_status.value # pylint: disable=protected-access diff --git a/homeassistant/components/bmw_connected_drive/__init__.py b/homeassistant/components/bmw_connected_drive/__init__.py index 12363627003..dce5961d70d 100644 --- a/homeassistant/components/bmw_connected_drive/__init__.py +++ b/homeassistant/components/bmw_connected_drive/__init__.py @@ -14,7 +14,7 @@ from homeassistant.helpers import discovery from homeassistant.helpers.event import track_utc_time_change import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['bimmer_connected==0.5.2'] +REQUIREMENTS = ['bimmer_connected==0.5.3'] _LOGGER = logging.getLogger(__name__) diff --git a/requirements_all.txt b/requirements_all.txt index 6c8b86a03f6..9f20ccb2ece 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -172,7 +172,7 @@ beautifulsoup4==4.6.3 bellows==0.7.0 # homeassistant.components.bmw_connected_drive -bimmer_connected==0.5.2 +bimmer_connected==0.5.3 # homeassistant.components.blink blinkpy==0.6.0