15 lines
385 B
Python
15 lines
385 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_platform(
|
|
hass: HomeAssistant, bot: Bot, config: TelegramBotConfigEntry
|
|
) -> type[BaseTelegramBot] | None:
|
|
"""Set up the Telegram broadcast platform."""
|
|
return None
|