Fix spelling of "off-peak", improve error message in teslemetry (#143321)

This commit is contained in:
Norbert Rittel 2025-04-20 11:49:16 +02:00 committed by GitHub
parent 9e59f07401
commit 9b2faf207d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -662,7 +662,7 @@
"message": "Departure time required to enable preconditioning" "message": "Departure time required to enable preconditioning"
}, },
"set_scheduled_departure_off_peak": { "set_scheduled_departure_off_peak": {
"message": "To enable scheduled departure, end off peak time is required." "message": "To enable scheduled departure, 'End off-peak time' is required."
}, },
"invalid_device": { "invalid_device": {
"message": "Invalid device ID: {device_id}" "message": "Invalid device ID: {device_id}"
@ -752,15 +752,15 @@
}, },
"end_off_peak_time": { "end_off_peak_time": {
"description": "Time to complete charging by.", "description": "Time to complete charging by.",
"name": "End off peak time" "name": "End off-peak time"
}, },
"off_peak_charging_enabled": { "off_peak_charging_enabled": {
"description": "Enable off peak charging.", "description": "Enable off-peak charging.",
"name": "Off peak charging enabled" "name": "Off-peak charging enabled"
}, },
"off_peak_charging_weekdays_only": { "off_peak_charging_weekdays_only": {
"description": "Enable off peak charging on weekdays only.", "description": "Enable off-peak charging on weekdays only.",
"name": "Off peak charging weekdays only" "name": "Off-peak charging weekdays only"
}, },
"preconditioning_enabled": { "preconditioning_enabled": {
"description": "Enable preconditioning.", "description": "Enable preconditioning.",