From 77cae88e6722b2768418e6c6fac36b6c9b839f13 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Fri, 11 Sep 2026 09:36:51 +0200 Subject: [PATCH] Fix missing re-export in telegram_bot (#181920) --- .core_files.yaml | 1 + homeassistant/components/telegram_bot/__init__.py | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/.core_files.yaml b/.core_files.yaml index dd3fd828fcb0..d2d2ae9780b5 100644 --- a/.core_files.yaml +++ b/.core_files.yaml @@ -118,6 +118,7 @@ components: &components - homeassistant/components/sun/** - homeassistant/components/system_health/** - homeassistant/components/tag/** + - homeassistant/components/telegram_bot/** - homeassistant/components/template/** - homeassistant/components/timer/** - homeassistant/components/trace/** diff --git a/homeassistant/components/telegram_bot/__init__.py b/homeassistant/components/telegram_bot/__init__.py index f223bb7b2af7..54d567aa8a01 100644 --- a/homeassistant/components/telegram_bot/__init__.py +++ b/homeassistant/components/telegram_bot/__init__.py @@ -24,7 +24,14 @@ from .bot import ( TelegramNotificationService, initialize_bot, ) + +# The ATTR_* below are unused here, but re-exported for the telegram integration. from .const import ( + ATTR_CHAT_ID, # noqa: F401 + ATTR_DISABLE_NOTIF, # noqa: F401 + ATTR_DISABLE_WEB_PREV, # noqa: F401 + ATTR_MESSAGE_TAG, # noqa: F401 + ATTR_MESSAGE_THREAD_ID, # noqa: F401 ATTR_PARSER, CONF_API_ENDPOINT, CONF_CHAT_ID,