mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-06-19 08:36:29 +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
|
```json
|
||||||
{
|
{
|
||||||
"exceptions": {
|
"exceptions": {
|
||||||
"end_date_before_start_date": "The end date cannot be before the start date.",
|
"end_date_before_start_date": {
|
||||||
"cannot_connect_to_schedule": "Cannot connect to the schedule."
|
"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