mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Telegram: add substep to restart after config change (#28152)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
b2c113663e
commit
6a5a85dc4a
@ -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`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user