Bandage telegram bot (#23022)

* Bandage

* lint

* move everything into __init__.py

* fix lint
This commit is contained in:
Diogo Gomes authored and Paulus Schoutsen committed 2019-04-12 14:28:59 -07:00
1 parent 0a3e11aa12
commit 51508d69ad
4 files changed
+57 -67

No files matched your search

@@ -5,14 +5,10 @@ from homeassistant.const import (
EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP)
from homeassistant.core import callback
from . import (
CONF_ALLOWED_CHAT_IDS, PLATFORM_SCHEMA as TELEGRAM_PLATFORM_SCHEMA,
BaseTelegramBotEntity, initialize_bot)
from . import (CONF_ALLOWED_CHAT_IDS, BaseTelegramBotEntity, initialize_bot)
_LOGGER = logging.getLogger(__name__)
PLATFORM_SCHEMA = TELEGRAM_PLATFORM_SCHEMA
async def async_setup_platform(hass, config):
"""Set up the Telegram polling platform."""