core/homeassistant
Eugenio Panadero f7d25396a4 Kodi specific service to call Kodi API methods (#7603)
* Kodi specific services to call Kodi API methods

 - new service: `kodi_execute_addon` to run a Kodi Addon with optional parameters. Results of the Kodi API call, if any, are redirected in a Home Assistant event: `kodi_execute_addon_result`.
 - new service: `kodi_run_method` to run a Kodi JSONRPC API method with optional parameters. Results of the Kodi API call are redirected in a Home Assistant event: `kodi_run_method_result`.
 - Add descriptions in services.yaml.
 - Add `timeout` parameter to yaml config (needed to make slow queries to the JSONRPC API, default timeout is set to 5s).
 - Trigger events with the results of the Kodi API calls, with:
 ```
 event_data = {
   'result': api_call_results,
   'result_ok': boolean,
   'input': api_call_parameters,
   'entity_id': 'media_player.kodi'}
```

* no need to clean OrderedDicts; no need for the `kodi_execute_addon` service

* no need for the `kodi_execute_addon` service

* unused import

* naming changes
2017-05-17 08:42:47 -04:00
..
components Kodi specific service to call Kodi API methods (#7603) 2017-05-17 08:42:47 -04:00
helpers Refactor sun component for correctness (#7295) 2017-05-09 00:03:34 -07:00
scripts Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
util Update docstrings (#7374) 2017-05-02 09:18:47 -07:00
__init__.py Fix PEP257 issues 2016-03-08 00:06:04 +01:00
__main__.py Update docstrings (#7361) 2017-04-29 22:04:49 -07:00
bootstrap.py Update docstrings (#7361) 2017-04-29 22:04:49 -07:00
config.py Add support for automation config panel (#7509) 2017-05-09 18:44:00 -07:00
const.py Add datadog component (#7158) 2017-05-06 00:34:40 +02:00
core.py Update docstrings (#7405) 2017-05-02 22:47:20 +02:00
exceptions.py Update docstrings (#7361) 2017-04-29 22:04:49 -07:00
loader.py Don't use len(SEQUENCE) as condition value (#7249) 2017-04-23 20:41:09 -07:00
package_constraints.txt Refactor sun component for correctness (#7295) 2017-05-09 00:03:34 -07:00
remote.py Update docstrings (#7361) 2017-04-29 22:04:49 -07:00
setup.py Update docstrings (#7361) 2017-04-29 22:04:49 -07:00