If I check the the config I always get following error:
2017-07-31 22:20:35 ERROR (MainThread) [homeassistant.config] Invalid config for [telegram_bot]: required key not provided @ data[‘platform’]. Got None. (See /var/lib/hass/configuration.yaml, line 110). Please check the docs at https://home-assistant.io/components/telegram_bot/
2017-07-31 22:20:35 INFO (MainThread) [homeassistant.setup] Setting up telegram_bot
…
Failed config
telegram_bot:
- platform: polling
allowed_chat_ids: [source /var/lib/hass/configuration.yaml:113]
- …
api_key: …
I tested my bot key per URL - works fine - I write my own python script - works fine - I have really no idea what I’m doing wrong - based on all the entries in this forum seems that I’m doing the right thing. Also changing the logger to debug level doesn’t give more information.
I solved the issue. I run Arch Linux on my Raspberry and installed home-assistant per AUR package. With this I always got this config error - today I installed home-assistant and appdaemon per pip and virtualenv and voala - everything works as expected.
Many thanks for your quick response - even if it did’nt identify the root cause