File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Use Telegram on your mobile device to send messages or commands to your Home Ass
16
16
17
17
A command looks like ` /thecommand `
18
18
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 ` :
20
20
21
21
``` yaml
22
22
command : " /thecommand"
@@ -36,7 +36,7 @@ alias: 'telegram bot that reply pong to ping'
36
36
hide_entity : true
37
37
trigger :
38
38
platform : event
39
- event_type : telegram.command
39
+ event_type : telegram_command
40
40
event_data :
41
41
command : ' /ping'
42
42
action :
@@ -50,7 +50,7 @@ Example that show keyboard interaction with `notify.telegram`
50
50
` ` ` yaml
51
51
trigger:
52
52
platform: event
53
- event_type: telegram.command
53
+ event_type: telegram_command
54
54
event_data:
55
55
command: '/start'
56
56
action:
@@ -68,7 +68,7 @@ and an automation to trigger a related command "/siren".
68
68
` ` ` yaml
69
69
trigger:
70
70
platform: event
71
- event_type: telegram.command
71
+ event_type: telegram_command
72
72
event_data:
73
73
command: '/siren'
74
74
action:
You can’t perform that action at this time.
0 commit comments