Capitalize "PIN to Drive" feature name in teslemetry (#141011)

* Capitalize "PIN to Drive" as feature name in `teslemetry`

Fixes the spelling of "PIN" for consistency and turns "PIN to Drive" into the feature name that Tesla uses (in English).

* Update test_binary_sensor.ambr
This commit is contained in:
Norbert Rittel 2025-03-20 18:20:08 +01:00 committed by GitHub
parent e48a25e952
commit 4bbd49af53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -132,7 +132,7 @@
"name": "Tire pressure warning rear right"
},
"pin_to_drive_enabled": {
"name": "Pin to drive enabled"
"name": "PIN to Drive enabled"
},
"drive_rail": {
"name": "Drive rail"

View File

@ -1631,7 +1631,7 @@
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Pin to drive enabled',
'original_name': 'PIN to Drive enabled',
'platform': 'teslemetry',
'previous_unique_id': None,
'supported_features': 0,
@ -1643,7 +1643,7 @@
# name: test_binary_sensor[binary_sensor.test_pin_to_drive_enabled-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Test Pin to drive enabled',
'friendly_name': 'Test PIN to Drive enabled',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.test_pin_to_drive_enabled',
@ -3010,7 +3010,7 @@
# name: test_binary_sensor_refresh[binary_sensor.test_pin_to_drive_enabled-statealt]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Test Pin to drive enabled',
'friendly_name': 'Test PIN to Drive enabled',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.test_pin_to_drive_enabled',