diff --git a/homeassistant/components/telegram_bot/strings.json b/homeassistant/components/telegram_bot/strings.json index 9a94541890b9..a2d2c87adb4c 100644 --- a/homeassistant/components/telegram_bot/strings.json +++ b/homeassistant/components/telegram_bot/strings.json @@ -103,6 +103,75 @@ } } }, + "entity": { + "event": { + "update_event": { + "name": "Update event", + "state_attributes": { + "args": { + "name": "Received command arguments" + }, + "chat_id": { + "name": "Chat ID" + }, + "command": { + "name": "Received command" + }, + "data": { + "name": "Received callback query" + }, + "date": { + "name": "Received datetime" + }, + "event_type": { + "state": { + "telegram_attachment": "Attachment received", + "telegram_callback": "Callback query received", + "telegram_command": "Command received", + "telegram_sent": "Message sent", + "telegram_text": "Text message received" + } + }, + "file_id": { + "name": "Received file ID" + }, + "file_mime_type": { + "name": "Received file MIME type" + }, + "file_name": { + "name": "Received file name" + }, + "file_size": { + "name": "Received file size (bytes)" + }, + "from_first": { + "name": "Received From first name" + }, + "from_last": { + "name": "Received from last name" + }, + "id": { + "name": "ID" + }, + "message_id": { + "name": "Sent message ID" + }, + "message_tag": { + "name": "Sent message tag" + }, + "message_thread_id": { + "name": "Received message thread ID" + }, + "text": { + "name": "Received text/caption" + }, + "user_id": { + "name": "Received from user ID" + } + } + } + } + }, "exceptions": { "action_failed": { "message": "Action failed. {error}" @@ -213,75 +282,6 @@ } } }, - "entity": { - "event": { - "update_event": { - "name": "Update event", - "state_attributes": { - "event_type": { - "state": { - "telegram_attachment": "Attachment received", - "telegram_callback": "Callback query received", - "telegram_command": "Command received", - "telegram_text": "Text message received", - "telegram_sent": "Message sent" - } - }, - "args": { - "name": "Received command arguments" - }, - "chat_id": { - "name": "Chat ID" - }, - "command": { - "name": "Received command" - }, - "data": { - "name": "Received callback query" - }, - "date": { - "name": "Received datetime" - }, - "file_id": { - "name": "Received file ID" - }, - "file_mime_type": { - "name": "Received file MIME type" - }, - "file_name": { - "name": "Received file name" - }, - "file_size": { - "name": "Received file size (bytes)" - }, - "from_first": { - "name": "Received From first name" - }, - "from_last": { - "name": "Received from last name" - }, - "id": { - "name": "ID" - }, - "message_id": { - "name": "Sent message ID" - }, - "message_tag": { - "name": "Sent message tag" - }, - "message_thread_id": { - "name": "Received message thread ID" - }, - "text": { - "name": "Received text/caption" - }, - "user_id": { - "name": "Received from user ID" - } - } - } - } - }, "services": { "answer_callback_query": { "description": "Responds to a callback query originated by clicking on an online keyboard button. The answer will be displayed to the user as a notification at the top of the chat screen or as an alert.",