Skip to content

Commit b95e3b8

Browse files
Landrashfabaff
authored andcommitted
Update telegram_command events (home-assistant#2496)
Update documentation referring to telegram_command events.
1 parent 25877f0 commit b95e3b8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/_components/telegram_bot.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Use Telegram on your mobile device to send messages or commands to your Home Ass
1616

1717
A command looks like `/thecommand`
1818

19-
When received by hass it will fire a `telegram.command` event on the event bus with the following `event_data`:
19+
When received by hass it will fire a `telegram_command` event on the event bus with the following `event_data`:
2020

2121
```yaml
2222
command: "/thecommand"
@@ -36,7 +36,7 @@ alias: 'telegram bot that reply pong to ping'
3636
hide_entity: true
3737
trigger:
3838
platform: event
39-
event_type: telegram.command
39+
event_type: telegram_command
4040
event_data:
4141
command: '/ping'
4242
action:
@@ -50,7 +50,7 @@ Example that show keyboard interaction with `notify.telegram`
5050
```yaml
5151
trigger:
5252
platform: event
53-
event_type: telegram.command
53+
event_type: telegram_command
5454
event_data:
5555
command: '/start'
5656
action:
@@ -68,7 +68,7 @@ and an automation to trigger a related command "/siren".
6868
```yaml
6969
trigger:
7070
platform: event
71-
event_type: telegram.command
71+
event_type: telegram_command
7272
event_data:
7373
command: '/siren'
7474
action:

0 commit comments

Comments
 (0)