Commit graph

18 commits

Author SHA1 Message Date
Anders Melchiorsen
8267a21bfe Lazy loading of service descriptions ()
* 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
Pascal Vizeli
c96c283293 Update ffmpeg.py 2017-10-19 10:36:09 +02:00
Pascal Vizeli
8a93cc147a FFmpeg 1.8 ()
* Update requirements_all.txt

* Update requirements_test_all.txt

* Update ffmpeg.py

* Update ffmpeg.py

* Update yi.py

* Update onvif.py

* Update yi.py
2017-10-18 17:11:22 +02:00
Pascal Vizeli
90f9a6bc0a Cleanup and simplitfy the async state update ()
* Cleanup and simplitfy the async state update

* Update test_entity.py
2017-09-12 10:01:03 +02:00
Pascal Vizeli
c278209c7b Update ffmpeg to 1.7 to fix severals problems ()
* Update ffmpeg to 1.7 to fix severals problems

* Update ffmpeg.py

* Update requirements_test_all.txt
2017-08-18 00:51:52 +02:00
Paulus Schoutsen
f43db3c615 Replace executor with async_add_job ()
* Remove executor

* Lint

* Lint

* Fix tests
2017-05-26 08:28:07 -07:00
Fabian Affolter
3ee4d1060f Update docstrings ()
* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update tomato.py

* Update isy994.py

* Lint + fix tests

* Lint
2017-04-29 22:04:49 -07:00
Pascal Vizeli
48cf7a4af9 Move ffmpeg to dispatcher from hass.data entity store. ()
* Move ffmpeg to dispatcher from hass.data entity store.

* fix lint

* address paulus comments

* add more unittest for better coverage
2017-02-26 14:31:46 -08:00
Pascal Vizeli
1a4b62909b Pump ffmpeg to 1.5 () 2017-02-20 15:12:09 +01:00
Pascal Vizeli
d29b7f6910 Ffmpeg update 1.4 ()
* Pump ffmpeg version

* update entity

* next 1.4
2017-02-08 23:18:23 +01:00
Pascal Vizeli
88d9d787a6 Add unittests for FFmpeg and spliting binary sensor ()
* Spliting ffmpeg binary sensor and move service to component.

* unittests for component

* add unittest for binary_sensor

* exclude camera for tests
2017-01-31 07:48:03 -08:00
Pascal Vizeli
36e47473c5 pump ffmpeg version 1.2 to fix close bug () 2017-01-27 00:22:31 +01:00
Pascal Vizeli
eadf67bd9a Update ha-ffmpeg version 1.1 () 2017-01-26 18:12:30 +01:00
Pascal Vizeli
b2203f7f41 [ffmpeg] Use new 1.0 version / migrate all asyncio ()
* [ffmpeg] Use new 1.0 version / migrate all asyncio

* fix lint

* fix import

* Add new service to binary_sensors

* fix lint
2017-01-20 21:56:22 -08:00
Pascal Vizeli
66541a6a19 Update ha-ffmpeg to version 0.15 () 2016-10-29 00:12:53 +02:00
Paulus Schoutsen
519d9f2fd0 async HTTP component ()
* Migrate WSGI to asyncio

* Rename wsgi -> http

* Python 3.4 compat

* Move linting to Python 3.4

* lint

* Lint

* Fix Python 3.4 mock_open + binary data

* Surpress logging aiohttp.access

* Spelling

* Sending files is a coroutine

* More callback annotations and naming fixes

* Fix ios
2016-10-23 23:48:01 -07:00
Pascal Vizeli
534f56a3e2 Bugfix if ffmpeg is not present on config / Update ha-ffmpeg 0.13 () 2016-09-17 22:57:18 -07:00
Pascal Vizeli
07a92e8ac3 Split ffmpeg to compoment ()
Add an optional extended description…
2016-09-15 14:35:40 +02:00