mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix missing exception translation in tibber (#131287)
This commit is contained in:
parent
46abf9790b
commit
9991a3b688
@ -79,7 +79,6 @@ def __get_date(date_input: str | None, mode: str | None) -> datetime:
|
||||
return dt_util.as_local(value)
|
||||
|
||||
raise ServiceValidationError(
|
||||
"Invalid datetime provided.",
|
||||
translation_domain=DOMAIN,
|
||||
translation_key="invalid_date",
|
||||
translation_placeholders={
|
||||
|
@ -119,6 +119,9 @@
|
||||
}
|
||||
},
|
||||
"exceptions": {
|
||||
"invalid_date": {
|
||||
"message": "Invalid datetime provided {date}"
|
||||
},
|
||||
"send_message_timeout": {
|
||||
"message": "Timeout sending message with Tibber"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user