mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Add note to telegram setup on getting new chat ids (#6870)
* Add note to telegram setup on getting new chat ids Ran into a constant empty results array when trying to retrieve new chat ids after it was set up in home assitant, added a note before configuration * Make it a note
This commit is contained in:
parent
f6be9bf9e3
commit
3ee0624f7d
@ -15,6 +15,8 @@ ha_release: 0.7.5
|
|||||||
|
|
||||||
The `telegram` platform uses [Telegram](https://web.telegram.org) to deliver notifications from Home Assistant to your Android device, your Windows phone, or your iOS device.
|
The `telegram` platform uses [Telegram](https://web.telegram.org) to deliver notifications from Home Assistant to your Android device, your Windows phone, or your iOS device.
|
||||||
|
|
||||||
|
## {% linkable_title Setup %}
|
||||||
|
|
||||||
The requirements are:
|
The requirements are:
|
||||||
|
|
||||||
- You need a [Telegram bot](https://core.telegram.org/bots). Please follow those [instructions](https://core.telegram.org/bots#6-botfather) to create one and get the token for your bot. Keep in mind that bots are not allowed to contact users. You need to make the first contact with your user. Meaning that you need to send a message to the bot from your user.
|
- You need a [Telegram bot](https://core.telegram.org/bots). Please follow those [instructions](https://core.telegram.org/bots#6-botfather) to create one and get the token for your bot. Keep in mind that bots are not allowed to contact users. You need to make the first contact with your user. Meaning that you need to send a message to the bot from your user.
|
||||||
@ -65,6 +67,12 @@ $ python3
|
|||||||
123456789
|
123456789
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<p class='note'>
|
||||||
|
If you want to add new chat IDs then you will need to disable the active configuration to actually see the result with the IDs, otherwise you may only get empty results array.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
## {% linkable_title Configuration %}
|
||||||
|
|
||||||
To enable Telegram notifications in your installation, add the following to your `configuration.yaml` file:
|
To enable Telegram notifications in your installation, add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user