core/homeassistant/components/telegram_bot
Anders Melchiorsen 8267a21bfe Lazy loading of service descriptions (#11479)
* Lazy loading of service descriptions

* Fix tests

* Load YAML in executor

* Return a copy of available services to allow mutations

* Remove lint

* Add zha/services.yaml

* Only cache descriptions for known services

* Remove lint

* Remove description loading during service registration

* Remove description parameter from async_register

* Test async_get_all_descriptions

* Remove lint

* Fix typos from multi-edit

* Remove unused arguments

* Remove unused import os

* Remove unused import os, part 2

* Remove unneeded coroutine decorator

* Only use executor for loading files

* Cleanups suggested in review

* Increase test coverage

* Fix races in existing tests
2018-01-07 14:54:16 -08:00
..
__init__.py Lazy loading of service descriptions (#11479) 2018-01-07 14:54:16 -08:00
broadcast.py telegram_bot platform to only send messages (#8186) 2017-06-26 22:22:33 -07:00
polling.py Fix for telegram polling. (added pausing when error occurs) (#10214) 2017-11-09 21:17:23 +01:00
services.yaml telegram_bot: Support for sending videos (#10470) 2017-11-12 00:13:35 +01:00
webhooks.py Retry set_webhook up to three times, reduce timeout to 5s again (#8716) 2017-07-30 11:14:28 +02:00