Fix telegram_bot (#7877)

This commit is contained in:
Paulus Schoutsen authored and Lewis Juggins committed 2017-06-03 10:50:37 +01:00
1 parent 9c9f5068b7
commit 8461cf2717
3 files changed
+80 -83

No files matched your search

@@ -25,7 +25,7 @@ PLATFORM_SCHEMA = TELEGRAM_PLATFORM_SCHEMA
@asyncio.coroutine
def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
def async_setup_platform(hass, config):
"""Set up the Telegram polling platform."""
import telegram
bot = telegram.Bot(config[CONF_API_KEY])