Telegram: add substep to restart after config change (#28152)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
c0ffeeca7 2023-07-10 10:02:18 +02:00 committed by GitHub
parent b2c113663e
commit 6a5a85dc4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ To create your first [Telegram bot](https://core.telegram.org/bots#how-do-i-crea
* Then, enter `/start`. * Then, enter `/start`.
* The bot will return your chat ID and the user name. * The bot will return your chat ID and the user name.
1. Create a [Telegram bot in Home Assistant](/integrations/telegram_bot): 1. Create a [Telegram bot in Home Assistant](/integrations/telegram_bot):
* Paste this into your configuration file: * Paste this into your [configuration file](/docs/configuration/):
* Replace the `api_key` and the `allowed_chat_ids` with your data. * Replace the `api_key` and the `allowed_chat_ids` with your data.
```yaml ```yaml
@ -51,6 +51,7 @@ To create your first [Telegram bot](https://core.telegram.org/bots#how-do-i-crea
name: "sarah" name: "sarah"
chat_id: 44441111 chat_id: 44441111
``` ```
* Restart Home Assistant.
1. From the conversation with BotFather, select the link to open a chat with your new bot. 1. From the conversation with BotFather, select the link to open a chat with your new bot.
1. In the chat with the new bot, enter `/start`. 1. In the chat with the new bot, enter `/start`.