Skip to content

Telegram bot deprecation breaks notifications #164855

Description

@PeteRager

The problem

Telegram bot is migrating to the NotificationEntity from the legacy BaseNotificationService. The deprecation warning instructs the user to remove the notification configuration (as it will be removed in 2025.5.0) but the current implementation does not work in existing configurations.

Specifically this YAML configuration is being depracated:

notify:
  - platform: telegram
    name: sms_telegram_admin
    chat_id: xxxxxxxx

Which worked in a variety of locations in home assistant. One specific incompatibility is with:

alert:
  test:
    name: test
    message: 'An Alert'
    entity_id: input_boolean.test
    state: "on"
    repeat:
      - 60
    notifiers:
      - sms_telegram_admin

Removing the notify configuration and replacing it with the telegram bot service does not work and results in this error:

Failed to call notify.telegram_bot_xxxx_yyyy, retrying at next notification interval`

This occurs because the Notify is not registering a per entity service.

What version of Home Assistant Core has the issue?

core-2026-3-0

What was the last working version of Home Assistant Core?

core-2025-12-0

What type of installation are you running?

Home Assistant Container

Integration causing the issue

telegram_bot

Link to integration documentation on our website

https://www.home-assistant.io/integrations/telegram_bot/

Diagnostics information

No response

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions