Fix sentence-casing in a few strings of bmw_connected_drive (#141816)

* Fix sentence-casing in a few strings of `bmw_connected_drive`

Also replace "Standby" state with common string reference.

* Update test_select.ambr
This commit is contained in:
Norbert Rittel 2025-03-30 14:13:35 +02:00 committed by GitHub
parent a48dd05035
commit 8f96ccc835
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 14 deletions

View File

@ -6,7 +6,7 @@
"data": {
"username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]",
"region": "ConnectedDrive Region"
"region": "ConnectedDrive region"
},
"data_description": {
"username": "The email address of your MyBMW/MINI Connected account.",
@ -113,10 +113,10 @@
},
"select": {
"ac_limit": {
"name": "AC Charging Limit"
"name": "AC charging limit"
},
"charging_mode": {
"name": "Charging Mode",
"name": "Charging mode",
"state": {
"immediate_charging": "Immediate charging",
"delayed_charging": "Delayed charging",
@ -181,7 +181,7 @@
"cooling": "Cooling",
"heating": "Heating",
"inactive": "Inactive",
"standby": "Standby",
"standby": "[%key:common::state::standby%]",
"ventilation": "Ventilation"
}
},

View File

@ -30,7 +30,7 @@
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Charging Mode',
'original_name': 'Charging mode',
'platform': 'bmw_connected_drive',
'previous_unique_id': None,
'supported_features': 0,
@ -42,7 +42,7 @@
# name: test_entity_state_attrs[select.i3_rex_charging_mode-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'i3 (+ REX) Charging Mode',
'friendly_name': 'i3 (+ REX) Charging mode',
'options': list([
'immediate_charging',
'delayed_charging',
@ -98,7 +98,7 @@
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'AC Charging Limit',
'original_name': 'AC charging limit',
'platform': 'bmw_connected_drive',
'previous_unique_id': None,
'supported_features': 0,
@ -110,7 +110,7 @@
# name: test_entity_state_attrs[select.i4_edrive40_ac_charging_limit-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'i4 eDrive40 AC Charging Limit',
'friendly_name': 'i4 eDrive40 AC charging limit',
'options': list([
'6',
'7',
@ -167,7 +167,7 @@
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Charging Mode',
'original_name': 'Charging mode',
'platform': 'bmw_connected_drive',
'previous_unique_id': None,
'supported_features': 0,
@ -179,7 +179,7 @@
# name: test_entity_state_attrs[select.i4_edrive40_charging_mode-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'i4 eDrive40 Charging Mode',
'friendly_name': 'i4 eDrive40 Charging mode',
'options': list([
'immediate_charging',
'delayed_charging',
@ -235,7 +235,7 @@
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'AC Charging Limit',
'original_name': 'AC charging limit',
'platform': 'bmw_connected_drive',
'previous_unique_id': None,
'supported_features': 0,
@ -247,7 +247,7 @@
# name: test_entity_state_attrs[select.ix_xdrive50_ac_charging_limit-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'iX xDrive50 AC Charging Limit',
'friendly_name': 'iX xDrive50 AC charging limit',
'options': list([
'6',
'7',
@ -304,7 +304,7 @@
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Charging Mode',
'original_name': 'Charging mode',
'platform': 'bmw_connected_drive',
'previous_unique_id': None,
'supported_features': 0,
@ -316,7 +316,7 @@
# name: test_entity_state_attrs[select.ix_xdrive50_charging_mode-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'iX xDrive50 Charging Mode',
'friendly_name': 'iX xDrive50 Charging mode',
'options': list([
'immediate_charging',
'delayed_charging',