Once configured telegram bot from the UI, it gives an error at the next reboot both in the UI and the log (see below).
It worked well with the old manual yaml configuration until this release which forced the new configuration flow and should import correctly the old configuration.
The old manual configuration was imported but it gave me the same error so I tried to remove every telegram configuration and try to reconfigure from scratch without success.
Error setting up entry telegram for telegram_bot
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/telegram_bot/__init__.py", line 475, in async_setup_entry
notify_service = TelegramNotificationService(
hass, receiver_service, bot, entry, entry.options[ATTR_PARSER]
)
File "/usr/src/homeassistant/homeassistant/components/telegram_bot/bot.py", line 243, in __init__
self.parse_mode = self._parsers[parser]
~~~~~~~~~~~~~^^^^^^^^
KeyError: None
The problem
Once configured telegram bot from the UI, it gives an error at the next reboot both in the UI and the log (see below).
It worked well with the old manual yaml configuration until this release which forced the new configuration flow and should import correctly the old configuration.
The old manual configuration was imported but it gave me the same error so I tried to remove every telegram configuration and try to reconfigure from scratch without success.
What version of Home Assistant Core has the issue?
2025.7.0
What was the last working version of Home Assistant Core?
2025.6.3
What type of installation are you running?
Home Assistant OS
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?
Error setting up entry telegram for telegram_bot Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/telegram_bot/__init__.py", line 475, in async_setup_entry notify_service = TelegramNotificationService( hass, receiver_service, bot, entry, entry.options[ATTR_PARSER] ) File "/usr/src/homeassistant/homeassistant/components/telegram_bot/bot.py", line 243, in __init__ self.parse_mode = self._parsers[parser] ~~~~~~~~~~~~~^^^^^^^^ KeyError: NoneAdditional information