mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 08:06:00 +01:00
15 lines
383 B
Python
15 lines
383 B
Python
"""Support for Telegram bot to send messages only."""
|
|
|
|
from telegram import Bot
|
|
|
|
from homeassistant.core import HomeAssistant
|
|
|
|
from .bot import BaseTelegramBot, TelegramBotConfigEntry
|
|
|
|
|
|
async def async_setup_bot_platform(
|
|
hass: HomeAssistant, bot: Bot, config: TelegramBotConfigEntry
|
|
) -> BaseTelegramBot | None:
|
|
"""Set up the Telegram broadcast platform."""
|
|
return None
|