mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
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:
parent
1199353204
commit
490bb46a82
@ -76,10 +76,10 @@
|
|||||||
},
|
},
|
||||||
"switch": {
|
"switch": {
|
||||||
"auto_charge": {
|
"auto_charge": {
|
||||||
"name": "Auto charge"
|
"name": "Auto-charge"
|
||||||
},
|
},
|
||||||
"session_active": {
|
"session_active": {
|
||||||
"name": "Charging Enabled"
|
"name": "Charging enabled"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
}),
|
}),
|
||||||
'original_device_class': None,
|
'original_device_class': None,
|
||||||
'original_icon': None,
|
'original_icon': None,
|
||||||
'original_name': 'Auto charge',
|
'original_name': 'Auto-charge',
|
||||||
'platform': 'technove',
|
'platform': 'technove',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
'supported_features': 0,
|
'supported_features': 0,
|
||||||
@ -36,7 +36,7 @@
|
|||||||
# name: test_switches[switch.technove_station_auto_charge-state]
|
# name: test_switches[switch.technove_station_auto_charge-state]
|
||||||
StateSnapshot({
|
StateSnapshot({
|
||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'friendly_name': 'TechnoVE Station Auto charge',
|
'friendly_name': 'TechnoVE Station Auto-charge',
|
||||||
}),
|
}),
|
||||||
'context': <ANY>,
|
'context': <ANY>,
|
||||||
'entity_id': 'switch.technove_station_auto_charge',
|
'entity_id': 'switch.technove_station_auto_charge',
|
||||||
@ -71,7 +71,7 @@
|
|||||||
}),
|
}),
|
||||||
'original_device_class': None,
|
'original_device_class': None,
|
||||||
'original_icon': None,
|
'original_icon': None,
|
||||||
'original_name': 'Charging Enabled',
|
'original_name': 'Charging enabled',
|
||||||
'platform': 'technove',
|
'platform': 'technove',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
'supported_features': 0,
|
'supported_features': 0,
|
||||||
@ -83,7 +83,7 @@
|
|||||||
# name: test_switches[switch.technove_station_charging_enabled-state]
|
# name: test_switches[switch.technove_station_charging_enabled-state]
|
||||||
StateSnapshot({
|
StateSnapshot({
|
||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'friendly_name': 'TechnoVE Station Charging Enabled',
|
'friendly_name': 'TechnoVE Station Charging enabled',
|
||||||
}),
|
}),
|
||||||
'context': <ANY>,
|
'context': <ANY>,
|
||||||
'entity_id': 'switch.technove_station_charging_enabled',
|
'entity_id': 'switch.technove_station_charging_enabled',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user