80 lines
2.7 KiB
JSON
80 lines
2.7 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"email": "[%key:common::config_flow::data::email%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]"
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"todo_save_item_failed": {
|
|
"message": "Failed to save item {name} to Bring! list"
|
|
},
|
|
"todo_update_item_failed": {
|
|
"message": "Failed to update item {name} to Bring! list"
|
|
},
|
|
"todo_rename_item_failed": {
|
|
"message": "Failed to rename item {name} to Bring! list"
|
|
},
|
|
"todo_delete_item_failed": {
|
|
"message": "Failed to delete {count} item(s) from Bring! list"
|
|
},
|
|
"setup_request_exception": {
|
|
"message": "Failed to connect to server, try again later"
|
|
},
|
|
"setup_parse_exception": {
|
|
"message": "Failed to parse server response, try again later"
|
|
},
|
|
"setup_authentication_exception": {
|
|
"message": "Authentication failed for {email}, check your email and password"
|
|
},
|
|
"notify_missing_argument_item": {
|
|
"message": "Failed to call service {service}. 'URGENT_MESSAGE' requires a value @ data['item']. Got None"
|
|
},
|
|
"notify_request_failed": {
|
|
"message": "Failed to send push notification for bring due to a connection error, try again later"
|
|
}
|
|
},
|
|
"services": {
|
|
"send_message": {
|
|
"name": "[%key:component::notify::services::notify::name%]",
|
|
"description": "Send a mobile push notification to members of a shared Bring! list.",
|
|
"fields": {
|
|
"entity_id": {
|
|
"name": "List",
|
|
"description": "Bring! list whose members (except sender) will be notified."
|
|
},
|
|
"message": {
|
|
"name": "Notification type",
|
|
"description": "Type of push notification to send to list members."
|
|
},
|
|
"item": {
|
|
"name": "Item (Required if message type `Breaking news` selected)",
|
|
"description": "Item name to include in a breaking news message e.g. `Breaking news - Please get cilantro!`"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"selector": {
|
|
"notification_type_selector": {
|
|
"options": {
|
|
"going_shopping": "I'm going shopping! - Last chance for adjustments",
|
|
"changed_list": "List changed - Check it out",
|
|
"shopping_done": "Shopping done - you can relax",
|
|
"urgent_message": "Breaking news - Please get `item`!"
|
|
}
|
|
}
|
|
}
|
|
}
|