mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-06-18 16:16:30 +00:00
Align exception-translations with translation requirements (#2487)
This commit is contained in:
parent
529d1bc456
commit
07c01b39da
@ -44,8 +44,12 @@ async def async_set_schedule(call: ServiceCall) -> ServiceResponse:
|
||||
```json
|
||||
{
|
||||
"exceptions": {
|
||||
"end_date_before_start_date": "The end date cannot be before the start date.",
|
||||
"cannot_connect_to_schedule": "Cannot connect to the schedule."
|
||||
"end_date_before_start_date": {
|
||||
"message": "The end date cannot be before the start date."
|
||||
},
|
||||
"cannot_connect_to_schedule": {
|
||||
"message": "Cannot connect to the schedule."
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user