Make spelling of "Auto-charge" switch consistent in TechnoVE (#144206)

* Make spelling of "Auto-charge" switch consistent in TechnoVE

Also fix sentence-casing in "Charging enabled" switch.

* Update test_switch.ambr
This commit is contained in:
Norbert Rittel 2025-05-04 17:56:25 +02:00 committed by GitHub
parent 1199353204
commit 490bb46a82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -76,10 +76,10 @@
},
"switch": {
"auto_charge": {
"name": "Auto charge"
"name": "Auto-charge"
},
"session_active": {
"name": "Charging Enabled"
"name": "Charging enabled"
}
}
},

View File

@ -24,7 +24,7 @@
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Auto charge',
'original_name': 'Auto-charge',
'platform': 'technove',
'previous_unique_id': None,
'supported_features': 0,
@ -36,7 +36,7 @@
# name: test_switches[switch.technove_station_auto_charge-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'TechnoVE Station Auto charge',
'friendly_name': 'TechnoVE Station Auto-charge',
}),
'context': <ANY>,
'entity_id': 'switch.technove_station_auto_charge',
@ -71,7 +71,7 @@
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Charging Enabled',
'original_name': 'Charging enabled',
'platform': 'technove',
'previous_unique_id': None,
'supported_features': 0,
@ -83,7 +83,7 @@
# name: test_switches[switch.technove_station_charging_enabled-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'TechnoVE Station Charging Enabled',
'friendly_name': 'TechnoVE Station Charging enabled',
}),
'context': <ANY>,
'entity_id': 'switch.technove_station_charging_enabled',