Hey community,
I’ve a problem with the telegram integration. I followed all the steps at the documentation.
But when I wanted to test it, it fails with the following error:
2021-03-15 19:05:37 ERROR (MainThread) [homeassistant.components.automation.telegram_test] Telegram Test: Error executing script. Service not found for call_service at pos 1: Unable to find service notify.mark_telegram
2021-03-15 19:05:37 ERROR (MainThread) [homeassistant.components.automation.telegram_test] Error while executing automation automation.telegram_test: Unable to find service notify.mark_telegram
My configuration file looks like:
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
# Telegram bot for sending notifications via Dobby bot
telegram_bot:
- platform: polling
api_key: !secret telegram_api_key
allowed_chat_ids: !secret telegram_chat_ids
# Notifier for the telegram service
notify:
- platform: telegram
name: mark_telegram
chat_id: !secret telegram_chat_mark
- platform: telegram
name: nicole_telegram
chat_id: !secret telegram_chat_nicole
The server check shows no error.
The automation looks like:
- id: '1615830147172'
alias: Telegram Test
description: Kurzer Telegram test
trigger:
- platform: state
entity_id: input_boolean.telegram_test
from: 'OFF'
to: 'ON'
condition: []
action:
- service: notify.mark_telegram
data:
title: "Test Nachricht"
message: "Das ist eine Testnachricht."
mode: single
Thanks in advance!
Cheers,
Mark