Skip to content

Commit

Permalink
Use message.description_short after update
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Oct 21, 2021
1 parent 5c03f3d commit c85e301
Showing 1 changed file with 1 addition and 4 deletions.
Expand Up @@ -88,10 +88,7 @@ def _check_control_messages(
check_control_messages = vehicle_state.check_control_messages
has_check_control_messages = vehicle_state.has_check_control_messages
if has_check_control_messages:
cbs_list = [
message["ccmDescriptionShort"] # type: ignore # needs fix in 'bimmer_connected'
for message in check_control_messages
]
cbs_list = [message.description_short for message in check_control_messages]
extra_attributes["check_control_messages"] = cbs_list
else:
extra_attributes["check_control_messages"] = "OK"
Expand Down

0 comments on commit c85e301

Please sign in to comment.