Skip to content

Commit c07f509

Browse files
Add additional method to get telegram id
1 parent fa52c5c commit c07f509

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/_integrations/telegram.markdown

+4
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ $ python3
119119
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.
120120
</div>
121121

122+
123+
**Method 4:** You can also get the chat ID from the Home Assistant logs. If you have set up the bot already you can send a message to your bot from an unauthorized ID and you will see an error entry in the log containing the ID.
124+
[![Open your Home Assistant instance and show your Home Assistant logs.](https://my.home-assistant.io/badges/logs.svg)](https://my.home-assistant.io/redirect/logs/?)
125+
122126
## Configuration
123127

124128
To enable Telegram notifications in your installation, add the following to your `configuration.yaml` file:

0 commit comments

Comments
 (0)