Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix telegram link and remove old page #2476

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions source/_components/telegram_bot.markdown
Expand Up @@ -16,7 +16,7 @@ Use Telegram on your mobile device to send messages or commands to your Home Ass

A command looks like `/thecommand`

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

```yaml
command: "/thecommand"
Expand All @@ -36,7 +36,7 @@ alias: 'telegram bot that reply pong to ping'
hide_entity: true
trigger:
platform: event
event_type: telegram.command
event_type: telegram_command
event_data:
command: '/ping'
action:
Expand All @@ -50,7 +50,7 @@ Example that show keyboard interaction with `notify.telegram`
```yaml
trigger:
platform: event
event_type: telegram.command
event_type: telegram_command
event_data:
command: '/start'
action:
Expand All @@ -68,13 +68,13 @@ and an automation to trigger a related command "/siren".
```yaml
trigger:
platform: event
event_type: telegram.command
event_type: telegram_command
event_data:
command: '/siren'
action:
- service: homeassistant.turn_on
entity_id: switch.vision_zm1601eu5_battery_operated_siren_switch_9_0
- delay:
- delay:
seconds: 10
- service: homeassistant.turn_off
entity_id: switch.vision_zm1601eu5_battery_operated_siren_switch_9_0
Expand Down
3 changes: 1 addition & 2 deletions source/_components/telegram_bot.polling.markdown
Expand Up @@ -34,5 +34,4 @@ Configuration variables:
- **allowed_chat_ids** (*Required*): A list of user in the `user_id` Telegram format enabled to interact to webhook
- **api_key** (*Required*): The API token of your bot.

To get your `chat_id` and `api_key` follow the instructions [here](/components.notify.telegram) .

To get your `chat_id` and `api_key` follow the instructions [here](/components/notify.telegram) .
125 changes: 0 additions & 125 deletions source/_components/telegram_webhooks.markdown

This file was deleted.