Folks,
I do get the follwoing errors in my logfile
Sep 24 21:32:52 home-assistant hass[7135]: 2017-09-24 21:32:52 INFO (MainThread) [homeassistant.loader] Loaded telegram_bot from homeassistant.components.telegram_bot
Sep 24 21:32:52 home-assistant hass[7135]: 2017-09-24 21:32:52 INFO (MainThread) [homeassistant.loader] Loaded telegram_bot.polling from homeassistant.components.telegram_bot.polling
Sep 24 21:33:03 home-assistant hass[7135]: 2017-09-24 21:33:03 INFO (MainThread) [homeassistant.setup] Setting up telegram_bot
Sep 24 21:33:04 home-assistant hass[7135]: 2017-09-24 21:33:04 INFO (MainThread) [homeassistant.components.telegram_bot] Setting up telegram_bot.polling
Sep 24 21:33:05 home-assistant hass[7135]: 2017-09-24 21:33:05 ERROR (MainThread) [homeassistant.components.telegram_bot] Error setting up platform polling
Sep 24 21:33:05 home-assistant hass[7135]: File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/telegram_bot/__init__.py", line 232, in async_setup
Sep 24 21:33:05 home-assistant hass[7135]: File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/telegram_bot/polling.py", line 31, in async_setup_platform
Sep 24 21:33:05 home-assistant hass[7135]: 2017-09-24 21:33:05 INFO (MainThread) [homeassistant.setup] Setup of domain telegram_bot took 2.0 seconds.
Sep 24 21:33:05 home-assistant hass[7135]: 2017-09-24 21:33:05 ERROR (MainThread) [homeassistant.setup] Setup failed for telegram_bot: Component failed to initialize.
Sep 24 21:33:05 home-assistant hass[7135]: * [telegram-bot](https://home-assistant.io/components/telegram_bot/)
Sep 24 21:33:05 home-assistant hass[7135]: * [telegram-bot](https://home-assistant.io/components/telegram_bot/)
my config.yaml looks like:
telegram_bot:
telegram_bot:
- platform: polling
api_key: bot<apitoken>
allowed_chat_ids: <chatid>
the allowed_chat_ids: is something I got from running:
curl -X GET https://api.telegram.org/bot<apitoken/getMe
{“ok”:true,“result”:{"id:,“is_bot”:true,“first_name”:“Ihausbot”,“username”:"Ihausbot“}}
my notify.yaml looks like:
- name: my_telegram
platform: telegram
chat_id: <chatid>
What’s wrong?