Pascal Vizeli
55dc483c91
Template switch change flow / add restore ( #6356 )
...
* Template switch change flow / add restore
* fix tests
* fix binary_sensor template
2017-03-02 14:09:53 +01:00
Pascal Vizeli
50887e7e2c
Move dispatcher out of init. ( #6355 )
2017-03-02 10:20:57 +01:00
Pascal Vizeli
f3870a8a48
Template binary_sensor change flow / add restore ( #6343 )
...
* Template binary_sensor change flow / add restore
* fix lint
2017-03-02 08:50:41 +01:00
Pascal Vizeli
6cb8a36cf1
Template sensor change flow / add restore ( #6336 )
2017-03-02 07:38:19 +02:00
Pascal Vizeli
52b1e13aca
Bugfix ZigBee / Move from eventbus to dispatcher ( #6333 )
...
* Bugfix ZigBee / Move from eventbus to dispatcher
* fix lint
2017-03-01 08:57:53 -08:00
Pascal Vizeli
67f3910f03
Bugfix ZigBee / Move from eventbus to dispatcher ( #6333 )
...
* Bugfix ZigBee / Move from eventbus to dispatcher
* fix lint
2017-03-01 08:57:23 -08:00
Pascal Vizeli
4e96e461f7
Cleanup component track_point_in_utc_time usage ( #6330 )
2017-03-01 07:37:48 -08:00
Pascal Vizeli
41f558b181
Bootstrap / Component setup async ( #6264 )
...
* Bootstrap / Entiy setup async
* Cleanup add_job stuff / return task/future object
* Address paulus comments / part 1
* fix install pip
* Cleanup bootstrap / move config stuff to config.py
* Make demo async
* Further bootstrap improvement
* Address Martin's comments
* Fix initial tests
* Fix final tests
* Fix bug with prepare loader
* Remove no longer needed things
* Log error when invalid config
* More cleanup
* Cleanups platform events & fix lint
* Use a non blocking add_entities callback for platform
* Fix Autoamtion is setup befor entity is ready
* Better automation fix
* Address paulus comments
* Typo
* fix lint
* rename functions
* fix tests
* fix test
* change exceptions
* fix spell
2017-02-28 20:33:19 -08:00
Pascal Vizeli
aa1f64bed6
Migrate calendar setup to async. ( #6305 )
2017-02-28 10:49:06 +01:00
Pascal Vizeli
3d26ac3323
Bugfix mqtt paho client to speend time ( #6266 )
2017-02-26 20:31:11 -08:00
Pascal Vizeli
9403cdd2a5
Bugfix mqtt socket error ( #6256 )
2017-02-26 20:31:11 -08:00
Pascal Vizeli
31ddcc6278
Bugfix mqtt paho client to speend time ( #6266 )
2017-02-26 15:28:54 -08:00
Pascal Vizeli
5932446508
Bugfix mqtt socket error ( #6256 )
2017-02-26 14:43:02 -08:00
Pascal Vizeli
48cf7a4af9
Move ffmpeg to dispatcher from hass.data entity store. ( #6211 )
...
* 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
7fcc3ae00a
Refactory of envisalink ( #6160 )
...
* Refactory of envisalink
* remove event buss
* init dispatcher from hass.
* Move platform to new dispatcher
* fix lint
* add unittest & threadded functions
* fix copy & past error
2017-02-25 14:35:27 -08:00
Pascal Vizeli
81ca978413
Move mqtt from eventbus to dispatcher / add unsub for dispatcher ( #6206 )
...
* Move mqtt from eventbus to dispatcher / add unsub for dispatcher
* Fix lint
* Fix test
* Fix lint v2
* fix dispatcher_send
2017-02-24 17:11:50 -08:00
Pascal Vizeli
f2a2d6bfa1
Refactory of envisalink ( #6160 )
...
* Refactory of envisalink
* remove event buss
* init dispatcher from hass.
* Move platform to new dispatcher
* fix lint
* add unittest & threadded functions
* fix copy & past error
2017-02-23 13:02:56 -08:00
Pascal Vizeli
106b7a9d8f
Cleanup run_callback_threadsafe ( #6187 )
...
* Cleanup run_callback_threadsafe
* fix spell
* Revert image_processing, they need to wait for update
2017-02-23 12:57:25 -08:00
Pascal Vizeli
1cd1facbd0
Add device_class to image_processing ( #6186 )
...
* Add image_processing device_class
* Fix comments
* address comments
2017-02-23 17:33:54 +01:00
Pascal Vizeli
b725eaf67f
Homematic icon map / upper case on services ( #6178 )
...
* Set upper on service / add sensor icon mapper
* Add more icons
* fix id
2017-02-23 15:31:32 +01:00
Pascal Vizeli
b0d3bbed79
Convert mqtt platforms to async ( #6145 )
...
* Convert mqtt platforms to async
* fix lint
* add more platforms
* convert mqtt_eventstream
* fix lint / add mqtt_room
* fix lint
* fix test part 1
* fix test part 2
* fix out of memory bug
* address comments
2017-02-22 09:43:22 +01:00
Pascal Vizeli
8983b826c4
Bugfix automation state linsteners ( #6120 )
...
* Bugfix automation state linsteners
* address paulus comments.
* fix lint
* fix lint v2
2017-02-22 00:02:37 -08:00
Pascal Vizeli
10fb30e924
Update jinja to 2.9.5 ( #6146 )
2017-02-21 09:05:44 -08:00
Pascal Vizeli
1910440a3c
Update aiohttp to 1.3.3 ( #6129 )
2017-02-20 21:29:38 -08:00
Pascal Vizeli
1d7ab0fa95
Cleanup some async stuff ( #6127 )
...
* Cleanup some async stuff
* change to schedule_update_ha_state()
* fix media player
* fix zigbee
2017-02-20 13:24:03 -08:00
Pascal Vizeli
e425801fe0
Homematic cleanup & hass best praxis ( #6121 )
2017-02-20 17:07:33 +01:00
Pascal Vizeli
1a4b62909b
Pump ffmpeg to 1.5 ( #6119 )
2017-02-20 15:12:09 +01:00
Pascal Vizeli
5d8e219448
Update aiohttp handling with upc connect ( #6108 )
...
* Refactor upc connect
* fix aiohttp cleanup
* fix test
* fix tests
* allow status code for login
2017-02-19 23:25:45 +01:00
Pascal Vizeli
e1cbd6b4c0
MQTT convert to async ( #6064 )
...
* Migrate mqtt to async
* address paulus comment / convert it complet async
* adress paulus comment / remove future
* Automation triggers should be async
* Fix MQTT async calls
* Show that event helpers are callbacks
* Fix tests
* Lint
2017-02-18 14:17:18 -08:00
Pascal Vizeli
a496a7c792
Protect device_tracker scan interval / TTS logging ( #6041 )
...
* Protect device_tracker scan interval / TTS logging
* clear pass
2017-02-16 07:13:33 -08:00
Pascal Vizeli
2574b915dd
Fix name in logging message ( #6039 )
...
Add an optional extended description…
2017-02-16 10:30:12 +01:00
Pascal Vizeli
6674a8ad57
[Device Tracker] Remove coro ( #6014 )
...
* Remove coro and make flow faster.
* fix lint
* address comments
2017-02-15 19:52:06 -08:00
Pascal Vizeli
d6f525a23f
Bugfix sonos favorite_source after lost connection ( #5996 )
2017-02-14 21:38:56 -08:00
Pascal Vizeli
80bc2666ac
Make homematic climate dynamic for datapoints. ( #5993 )
...
* Make homematic climate dynamic for datapoints.
* Code cleanup
* Add more option
* add options
* Pump version 0.1.22
* optimaze
2017-02-14 23:19:57 +01:00
Pascal Vizeli
30ad8bcc80
Bugfix sonos favorite_source after lost connection ( #5996 )
2017-02-14 11:59:54 -08:00
Pascal Vizeli
4b8e6e36b6
Make EntityComponent update process more robust. ( #5943 )
...
* Make EntityComponent update process more robust.
* address paulus comments
* Add platform to log message.
2017-02-14 09:32:40 -08:00
Pascal Vizeli
41849eab06
Core cleanup: two stage shutdown ( #5876 )
...
* Core cleanup: two stage shutdown
* fix spell
* fix
* add async logger to close
* change aiohttp to use CLOSE
* address paulus comments
* Fix tests
* Add unittest
2017-02-13 06:24:07 +01:00
Pascal Vizeli
9aac2113b6
Add 'wait_template' to script commands / Refactory track_template ( #5827 )
...
* Add 'wait' to script commands.
* Add track_template + unittest / rename wait_template
* fix lint & test
* Fix handling / change automation-template / add tests
* address paulus comments
2017-02-12 13:27:53 -08:00
Pascal Vizeli
eaa6392535
Fix check_config script. ( #5853 )
2017-02-10 20:55:34 -08:00
Pascal Vizeli
3f87d28616
Update aiohttp 1.3.1 ( #5838 )
2017-02-10 20:55:33 -08:00
Pascal Vizeli
4e8d20328a
Fix check_config script. ( #5853 )
2017-02-10 08:51:08 -08:00
Pascal Vizeli
8785e5826e
telegram small cleanup/style ( #5852 )
2017-02-10 16:39:02 +01:00
Pascal Vizeli
2e8e5a35b5
Update aiohttp 1.3.1 ( #5838 )
2017-02-09 17:31:20 -08:00
Pascal Vizeli
2cbed9cd96
Move signal handling out of core to bootstrap ( #5815 )
...
* Move signal handling out of core to bootstrap
* Fix tests
2017-02-08 21:58:45 -08:00
Pascal Vizeli
d29b7f6910
Ffmpeg update 1.4 ( #5813 )
...
* Pump ffmpeg version
* update entity
* next 1.4
2017-02-08 23:18:23 +01:00
Pascal Vizeli
881d53339b
[Image_Processing][Breaking Change] Cleanup Base face class add support for microsoft face detect ( #5802 )
...
* [Image_Processing] Cleanup Base face class add support for microsoft face detect
* fix lint
* add unittest for micosoft detect
* fix test
2017-02-08 09:19:40 -08:00
Pascal Vizeli
3f82ef64a1
Move core service from core to components ( #5787 )
...
* Move core servcie from core to components
* add new handler for signals/exception
* Static persistent id
* Move unittest
* fix coro/callback
* Add more unittest for new services
* Address comments
* Update __init__.py
2017-02-08 09:17:52 -08:00
Pascal Vizeli
acdda1f42b
Revert last change on TTS cache load for more speed ( #5797 )
2017-02-07 22:54:52 +01:00
Pascal Vizeli
48161697f8
Sonos fix favorite, coordinator, cleanup update ( #5778 )
...
* Sonos fix favorite, coordinator, cleanup update
* Bugfix snapshot restore
2017-02-07 00:27:55 -08:00
Pascal Vizeli
2b124a008c
Migrate lock component to async ( #5748 )
2017-02-06 21:25:34 +01:00
Pascal Vizeli
2a139d6bc7
Add unittest for multible entities in one line ( #5759 )
2017-02-05 14:24:38 +01:00
Pascal Vizeli
f63874eb8c
Migrate cover to async. ( #5717 )
2017-02-02 12:39:13 -08:00
Pascal Vizeli
2fc3dfff67
Migrate fan component to async. ( #5723 )
...
* Migrate fan component to async.
* Fix lint
2017-02-02 12:07:00 -08:00
Pascal Vizeli
eefb603f17
Cleanup media_player universal platform / blocking platform. ( #5671 )
...
* Cleanup media_player universal platform / blocking platform.
* fix comments
* fix unittest
* fix lint
* fix unittest lint
* fix coro
* fix test
* fix tests part 2
2017-02-01 21:45:19 -08:00
Pascal Vizeli
10a104271e
Cleanup climate platform for async update_ha_state / migrate generic thermostat ( #5679 )
...
* Cleanup climate from blocking stuff / migrate generic
* Migrate generic thermostat
* fix tests
* fix lint
2017-02-01 21:44:05 -08:00
Pascal Vizeli
9ed8ee1261
Bugfix sonso source input ( #5699 )
2017-02-01 21:19:28 -08:00
Pascal Vizeli
df7ca22656
Fix bug for UNREACH devices / Variable handling and update. ( #5689 )
...
* Fix bug for UNREACH devices / Variable handling and update.
* fix track_time
* update after data after creation
* add message output
* change unreach
* change unreach code
* Revert "change unreach code"
This reverts commit f58430de3cb854d5f6f886bfe4d59899c1efadbf.
* update pyhomematic
2017-02-01 21:19:28 -08:00
Pascal Vizeli
6ee7878236
Bugfix async blocking loop with xml parser. ( #5694 )
2017-02-01 21:19:28 -08:00
Pascal Vizeli
bc7fd5611e
Bugfix sonos group coordinator ( #5691 )
...
* Bugfix sonos group coordinator
* Fix tests
2017-02-01 21:19:28 -08:00
Pascal Vizeli
b2180fba63
Bugfix sonso source input ( #5699 )
2017-02-02 00:02:24 +01:00
Pascal Vizeli
b5b1d72ab6
Fix bug for UNREACH devices / Variable handling and update. ( #5689 )
...
* Fix bug for UNREACH devices / Variable handling and update.
* fix track_time
* update after data after creation
* add message output
* change unreach
* change unreach code
* Revert "change unreach code"
This reverts commit f58430de3cb854d5f6f886bfe4d59899c1efadbf.
* update pyhomematic
2017-02-01 23:55:16 +01:00
Pascal Vizeli
a72d32b9af
Bugfix async blocking loop with xml parser. ( #5694 )
2017-02-01 17:20:52 +01:00
Pascal Vizeli
32f8622bba
Bugfix sonos group coordinator ( #5691 )
...
* Bugfix sonos group coordinator
* Fix tests
2017-02-01 16:53:02 +01:00
Pascal Vizeli
88d9d787a6
Add unittests for FFmpeg and spliting binary sensor ( #5659 )
...
* 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
ca558f6485
Add unittest for cleanup not validate ssl stuff. ( #5643 )
2017-01-30 13:09:36 +01:00
Pascal Vizeli
847a5a064d
Aiohttp client unittest ( #5635 )
...
* add test for cleanup
* add test for mjpeg stream
2017-01-29 16:15:40 -08:00
Pascal Vizeli
261ffbbfea
Move part of image_processing tests ( #5634 )
...
* Move part of image_processing tests
* fix lint
2017-01-29 14:40:37 -08:00
Pascal Vizeli
1d4e967106
sonos set coordinator after join/unjoin ( #5584 )
...
* sonos set coordinator after join/unjoin
* fix unittest
2017-01-27 15:37:16 +01:00
Pascal Vizeli
4831f57834
Bugfix sonos / refactor of sonos function for TTS ( #5571 )
...
* Bugfix sonos / refactor of sonos function for TTS
* fix unittest
* update service yaml
* restore group of a coordinator
* use group function to evaluate
* fix state flooting
* fix comments
2017-01-26 22:50:36 -08:00
Pascal Vizeli
36e47473c5
pump ffmpeg version 1.2 to fix close bug ( #5579 )
2017-01-27 00:22:31 +01:00
Pascal Vizeli
636e7aa31e
[microsoft_face] Small error fixes ( #5577 )
...
* [microsoft_face] Small error fixes
* add array to exclusion
2017-01-26 23:18:15 +01:00
Pascal Vizeli
eadf67bd9a
Update ha-ffmpeg version 1.1 ( #5573 )
2017-01-26 18:12:30 +01:00
Pascal Vizeli
c3a55e7d82
Fix upc lint error ( #5554 )
2017-01-25 18:46:37 +01:00
Pascal Vizeli
393c7f2cf1
[device.upc_connect] Discount on STOP. ( #5553 )
...
* [device.upc_connect] Discount on STOP.
* close session it self
* Update upc_connect.py
2017-01-25 09:20:31 -08:00
Pascal Vizeli
b57f5728c5
[image_processing/microsoft_face_identify] face recognition for automation ( #5472 )
...
* [image_processing/microsoft_face_verify] face recognition for automation
* Add platform for microsoft face identify
* add unittest for demo
* Add unittest for platform
2017-01-24 21:50:10 -08:00
Pascal Vizeli
92858554e6
Bugfix endless aiohttp streamreader ( #5540 )
2017-01-24 20:43:36 +01:00
Pascal Vizeli
c972e90580
Bugfix mjpeg camera ( #5539 )
2017-01-24 20:25:51 +01:00
Pascal Vizeli
2fff8a5a11
[TTS] options support for service calls ( #5436 )
...
* [TTS] Support now options like voice and age on service.
* Add unittest
2017-01-21 08:35:18 +01:00
Pascal Vizeli
b2203f7f41
[ffmpeg] Use new 1.0 version / migrate all asyncio ( #5464 )
...
* [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
8496975de8
Fix if none data is present for a sensor. ( #5415 )
2017-01-20 09:07:03 +01:00
Pascal Vizeli
fe6a8f3367
Remove old openalpr component ( #5406 )
...
* Remove old openalpr component
* update region support
2017-01-19 22:21:25 -08:00
Pascal Vizeli
3da25c227f
lint v2 ( #5444 )
2017-01-19 19:33:15 +01:00
Pascal Vizeli
11083cf04b
Fix lint ( #5443 )
2017-01-19 19:18:32 +01:00
Pascal Vizeli
8da398c0bd
Proxy aiohttp websession / more rebust. ( #5419 )
2017-01-19 09:55:27 -08:00
Pascal Vizeli
9799631797
[camera/mjpeg] Support still image for thumbmail ( #5440 )
2017-01-19 09:53:08 -08:00
Pascal Vizeli
5299c92352
Bugfix volume up/down ( #5426 )
2017-01-18 22:52:11 +01:00
Pascal Vizeli
2a362fd1ff
Asyncio notify component migration ( #5377 )
...
* Async migrate notify/platform
* convert group to async
* fix unittest
2017-01-17 22:08:03 -08:00
Pascal Vizeli
cfc936761b
Make upc more robust ( #5404 )
...
* Make upc more robust
* update unittest
* add test for parse error
2017-01-17 23:35:02 +01:00
Pascal Vizeli
7af92d0bca
Bugfix upc with aiohttp 1.2 (cookies) ( #5362 )
2017-01-16 22:08:24 -08:00
Pascal Vizeli
8a95cc4104
Bugfix timedelta v2 ( #5349 )
...
* Bugfix timedelta v2
* fix volvo
* fix lint
2017-01-16 22:08:24 -08:00
Pascal Vizeli
f08e2648ae
Bugfix upc with aiohttp 1.2 (cookies) ( #5362 )
2017-01-16 11:06:23 +01:00
Pascal Vizeli
2e3d5302bf
Bugfix timedelta v2 ( #5349 )
...
* Bugfix timedelta v2
* fix volvo
* fix lint
2017-01-15 23:53:37 +01:00
Pascal Vizeli
d7d428119b
Bugfix stack trace from api ( #5332 )
2017-01-15 08:36:24 -08:00
Pascal Vizeli
c458ee29f2
Rename log message / handle cancellederror on image proxy ( #5331 )
2017-01-15 08:35:58 -08:00
Pascal Vizeli
7ed83306ea
Add warning to openalpr ( #5315 )
...
* Add warning to openalpr
* fix lint
* update comment
2017-01-14 15:36:20 +01:00
Pascal Vizeli
b817c7d0c2
Bugfix camera fake image ( #5314 )
...
* Bugfix camera fake image
* add logger
2017-01-14 11:53:00 +01:00
Pascal Vizeli
c2492d1493
Component "Image processing" ( #5166 )
...
* Init new component for image processing.
* Add demo platform
* address comments
* add unittest v1 for demo
* Add unittest for alpr
* Add openalpr local test
* Add openalpr cloud platform
* Add unittest openalpr cloud platform
* Update stale docstring
* Address paulus comments
* Update stale docstring
* Add coro to function
* Add coro to cloud
2017-01-14 08:18:03 +01:00
Pascal Vizeli
0cf3c22da0
Bugfix media_player volume_ up and down ( #5282 )
...
* Bugfix media_player volume_ up and down
* fix lint
* make a coro
2017-01-13 21:09:02 -08:00
Pascal Vizeli
4b43537801
Bugfix camera streams ( #5306 )
...
* fix mjpeg streams
* fix trow error on close by frontend
* fix ffmpeg
2017-01-13 15:57:38 -08:00
Pascal Vizeli
2c3f55acc4
Add HMWIOSwitch to sensor, binary ( #5304 )
2017-01-13 22:39:42 +01:00