Pascal Vizeli and Paulus Schoutsen
6b00f7ff28
Bugfix async device_tracker see callback ( #5259 )
2017-01-10 17:19:51 +01:00
Pascal Vizeli and Johann Kellerman
bb02fc707c
[device_traker/upc] New UPC connect box platform ( #5100 )
2017-01-09 18:08:37 +02:00
Pascal Vizeli and Paulus Schoutsen
a65388e778
Bugfix segfault with new helper track_time_interval ( #5222 )
...
* Bugfix sigfault with new helper track_time_interval
* Add none init also to sunrise/sunset for consistance
2017-01-08 14:06:15 +01:00
Pascal Vizeli and GitHub
ca4a857532
Improve aiohttp default clientsession close with connector ( #5208 )
2017-01-07 21:11:19 +01:00
Pascal Vizeli and Paulus Schoutsen
2b991e2f32
[new] component rest_command ( #5055 )
...
* New component rest_command
* add unittests
* change handling like other command
* change unittest
* address @balloob comments
2017-01-06 23:42:53 +01:00
Pascal Vizeli and GitHub
1719d88602
Bugfix default values to timedelta ( #5193 )
...
* Bugfix default values to timedelta
* fix unittests
2017-01-06 00:16:12 +01:00
Pascal Vizeli and Paulus Schoutsen
50a8ec7335
Bugfix aiohttp connector pool close on shutdown ( #5190 )
...
* Bugfix aiohttp connector pool close on shutdown
* fix circular import
* remove lint disable
2017-01-05 23:09:04 +01:00
Pascal Vizeli and Johann Kellerman
b2371c6614
Update device_traker for async platforms ( #5102 )
...
Async DeviceScanner object, migrate to async, cleanups
2017-01-02 21:50:42 +02:00
Pascal Vizeli and Paulus Schoutsen
0ecd185f0d
Bugfix close async log handler ( #5086 )
2016-12-29 17:27:58 +01:00
Pascal Vizeli and Paulus Schoutsen
244cdf43d0
Async reduce coro ( #5001 )
...
* Asyncio coro reduce
* Replace comments
2016-12-26 14:10:23 +01:00
Pascal Vizeli and Paulus Schoutsen
22d1bf0acd
Async migrate climate ( #5026 )
...
* Async migrate climate
* Change update handling
2016-12-26 14:09:15 +01:00
Pascal Vizeli and pvizeli
9bf4a53fbb
Bugfix async log handle re-close bug ( #5034 )
...
* Bugfix async log handle re-close bug
* Check on running thread on async_close
* Fix now on right place
2016-12-22 16:09:16 +01:00
Pascal Vizeli and GitHub
334b3b8636
Bugfix async log handle re-close bug ( #5034 )
...
* Bugfix async log handle re-close bug
* Check on running thread on async_close
* Fix now on right place
2016-12-22 16:08:01 +01:00
Pascal Vizeli and pvizeli
f18a88c2d4
Bugfix create a task from a task in component update ( #5033 )
2016-12-21 15:12:26 +01:00
Pascal Vizeli and GitHub
9a16054867
Bugfix create a task from a task in component update ( #5033 )
2016-12-21 15:11:14 +01:00
Pascal Vizeli and pvizeli
35b4da0aa2
Bugfix voicerss post api ( #5021 )
...
* Bugfix voicerss post api
* fix unittest
* Add cache to service description
2016-12-21 11:49:56 +01:00
Pascal Vizeli and GitHub
4c9347eb2a
Fix spell media_player service ( #5030 )
...
Add an optional extended description…
2016-12-21 11:39:59 +01:00
Pascal Vizeli and GitHub
25469dd8ee
Bugfix voicerss post api ( #5021 )
...
* Bugfix voicerss post api
* fix unittest
* Add cache to service description
2016-12-21 10:22:12 +01:00
Pascal Vizeli and Paulus Schoutsen
a4a38c8a00
Bugfix TTS clear cache ( #4974 )
...
* Bugfix TTS base url with certificate
* fix lint
* remove base_url stuff fix only clear_cache stuff
* cleanup
2016-12-18 13:00:21 -08:00
Pascal Vizeli and Paulus Schoutsen
b750319de4
Bugfix wait in automation ( #4984 )
2016-12-18 13:00:21 -08:00
Pascal Vizeli and Paulus Schoutsen
a6d995e394
Bugfix wait in automation ( #4984 )
2016-12-18 12:57:31 -08:00
Pascal Vizeli and Paulus Schoutsen
fec33347fb
Bugfix TTS clear cache ( #4974 )
...
* Bugfix TTS base url with certificate
* fix lint
* remove base_url stuff fix only clear_cache stuff
* cleanup
2016-12-18 11:26:40 -08:00
Pascal Vizeli and Paulus Schoutsen
50c8224365
Bugfix async log handler ( #4954 )
...
* Bugfix async log handler
* fix boostrap test
* Use hass.data for store handler and cleanup on async_stop
* Update bootstrap.py
2016-12-17 12:21:52 -08:00
Pascal Vizeli and Paulus Schoutsen
6d6abab358
Async logging file handler ( #4901 )
...
* Async logging file handler
* add time rotation handle
* new layout
* address paulus comments
* fix lint
2016-12-16 15:51:06 -08:00
Pascal Vizeli and Paulus Schoutsen
8358ab56ea
Bugfix asyncio wait ( #4946 )
2016-12-16 08:36:50 -08:00
Pascal Vizeli and Paulus Schoutsen
a0b2105ea0
Add voicerss for TTS ( #4916 )
...
* Add voicerss for TTS
* add unittests
* fix tests
* fix status bug in google/voicerss
* remove ssl
2016-12-16 00:10:48 -08:00
Pascal Vizeli and Paulus Schoutsen
1d60760e21
Protect add_job ( #4932 )
2016-12-15 21:30:09 -08:00
Pascal Vizeli and GitHub
43d18daebd
Homematic faster update with async ( #4929 )
2016-12-15 21:26:13 +01:00
Pascal Vizeli and GitHub
6d2de67620
TTS add google language list for config check ( #4912 )
...
* Add config check for language
* update default
* move language from component to platform
* fix lint
2016-12-14 22:32:20 +01:00
Pascal Vizeli and Paulus Schoutsen
e4b6395250
Migrate REST switch to async ( #4517 )
...
* Migrate REST switch to async
* Update rest.py
* Address comments from paulus
2016-12-13 08:55:13 -08:00
Pascal Vizeli and Paulus Schoutsen
2dec38d8d4
TTS Component / Google speech platform ( #4837 )
...
* TTS Component / Google speech platform
* Change file backend handling / cache
* Use mimetype / rename Provider function / allow cache on service call
* Add a memcache for faster response
* Add demo platform
* First version of unittest
* Address comments
* improve error handling / address comments
* Add google unittest & check http response code
* Change url param handling
* add test for other language
* Change hash to sha256 for same hash on every os/hardware
* add unittest for receive demo data
* add test for error cases
* Test case load from file to mem over aiohttp server
* Use cache SpeechManager level, address other comments
* Add service for clear cache
* Update service.yaml
* add support for spliting google message
2016-12-12 23:23:08 -08:00
Pascal Vizeli and Paulus Schoutsen
99f1ea9b59
Migrate alarm control panel to async ( #4807 )
...
* Merge alarm control panel to async
* fix lint
2016-12-11 14:39:20 -08:00
Pascal Vizeli and Paulus Schoutsen
0bf9e6d4bb
Bugfix error on automation reload ( #4823 )
2016-12-08 23:24:03 -08:00
Pascal Vizeli and Paulus Schoutsen
8295fc8b4c
Pararell execute state restore by domain ( #4801 )
...
* Pararell execute state restore per domain
* fix spell
2016-12-07 08:37:35 -08:00
Pascal Vizeli and Paulus Schoutsen
7c3ae884df
Migrate remote to async ( #4678 )
...
* Migrate remote to async
* add coro
* remove sync from init since only used in harmony
* import ATTR from remote
* remove unused sync stuff from tests
2016-12-06 22:35:24 -08:00
Pascal Vizeli and Paulus Schoutsen
d9556392bc
Protect hm thread for hangs on events ( #4717 )
2016-12-04 11:02:33 -08:00
Pascal Vizeli and Paulus Schoutsen
0ae6585a90
Bugfix sonos hosts ( #4698 )
2016-12-04 11:02:33 -08:00
Pascal Vizeli and GitHub
b5c2be8ffa
Protect hm thread for hangs on events ( #4717 )
2016-12-04 15:31:24 +01:00
Pascal Vizeli and Paulus Schoutsen
e8c9dcf0fe
Migrate remote to async ( #4678 )
...
* Migrate remote to async
* add coro
* remove sync from init since only used in harmony
* import ATTR from remote
* remove unused sync stuff from tests
2016-12-03 22:08:24 -08:00
Pascal Vizeli and Paulus Schoutsen
7746ecd98e
Migrate weather to async ( #4677 )
2016-12-03 17:58:43 -08:00
Pascal Vizeli and Fabian Affolter
efdf51b542
Bugfix sonos hosts ( #4698 )
2016-12-04 00:31:27 +01:00
Pascal Vizeli and GitHub
754d98bcd5
Cleanups on homematic climate ( #4685 )
2016-12-03 14:06:08 +01:00
Pascal Vizeli and Paulus Schoutsen
2e6a48ff5f
WIP: Migrate scene to async + homeassistant scene async ( #4665 )
...
* Migrate scene to async + homeassistant scene async
* fix lint
* Update state.py
* Fix tests
2016-12-01 21:38:12 -08:00
Pascal Vizeli and Paulus Schoutsen
8a042586f1
Migrate sensor to async ( #4663 )
2016-12-01 18:31:55 -08:00
Pascal Vizeli and Paulus Schoutsen
bde7176b3c
Migrate light component to async ( #4635 )
2016-11-30 13:33:38 -08:00
Pascal Vizeli and GitHub
17f0fb69bd
Homematic update with HomematicIP/HomematicWired support and multible… ( #4568 )
...
* Homematic update with HomematicIP/HomematicWired support and multible connections
* fix bug in virtualkey service
* create new service & cleanups
* fix lint
* Pump pyhomematic 0.1.18
2016-11-29 20:53:02 +01:00
Pascal Vizeli and GitHub
b4841a17a6
Hotfix device_tracker yaml config ( #4611 )
2016-11-28 18:43:47 +01:00
Pascal Vizeli and Paulus Schoutsen
cf57db919e
Refactory aiohttp clientsession handling in HA ( #4602 )
...
* Refactory aiohttp clientsession handling in HA
* remove from core / update platforms / rename file
2016-11-27 16:26:46 -08:00
Pascal Vizeli and Paulus Schoutsen
8c56091af7
Hotfix executor pool size ( #4552 )
2016-11-24 14:53:46 -08:00
Pascal Vizeli and Paulus Schoutsen
c04a002c55
Hotfix executor pool size ( #4552 )
2016-11-23 09:52:03 -08:00
Pascal Vizeli and Paulus Schoutsen
c294a534d0
Migrate binary_sensor to async ( #4516 )
2016-11-22 22:47:43 -08:00
Pascal Vizeli and Paulus Schoutsen
8e776b4dc0
Fix wrong name handling in rfxtrx sensor ( #4531 )
2016-11-22 12:47:37 -08:00
Pascal Vizeli and Paulus Schoutsen
755f5b61b7
Bugfix discovery use wrong time async ( #4515 )
...
* Bugfix discovery use wrong time async
* fix lint
2016-11-21 19:33:32 -08:00
Pascal Vizeli and Paulus Schoutsen
6869c7401e
Bugfix device_tracker init tracker scan ( #4514 )
2016-11-21 19:33:32 -08:00
Pascal Vizeli and Paulus Schoutsen
835577b2bc
Bugfix discovery use wrong time async ( #4515 )
...
* Bugfix discovery use wrong time async
* fix lint
2016-11-21 19:33:08 -08:00
Pascal Vizeli and Paulus Schoutsen
859d0d5ad6
Bugfix device_tracker init tracker scan ( #4514 )
2016-11-21 19:32:21 -08:00
Pascal Vizeli and GitHub
c56f99baaf
Async migration device_tracker ( #4406 )
...
* Async migration device_tracker
* change location stuff to async
* address paulus comments
* fix lint & add async discovery listener
* address paulus comments v2
* fix tests
* fix test_mqtt
* fix test_init
* fix gps_acc
* fix lint
* change async_update_stale to callback
2016-11-18 23:35:08 +01:00
Pascal Vizeli and Paulus Schoutsen
c8bc1e3c5d
change add_job to use call_soon_threadsafe ( #4410 )
...
* change add_job to use call_soon_threadsafe
* address comments from paulus
* Tweak core tests
* Fix tests Python 3.4.2
2016-11-16 20:00:08 -08:00
Pascal Vizeli and Paulus Schoutsen
41aaeb715a
Convert switch to AsnycIO ( #4382 )
...
* Convert switch to AsnycIO
* Move update entity to service
* use time better for faster handling
* Change to suggestion from paulus
* Use new shedule_update_ha_state
* fix lint
* minimize executor calls
2016-11-15 21:06:50 -08:00
Pascal Vizeli and Paulus Schoutsen
71a305ea45
Hotfix deadlock on platform setup ( #4354 )
...
* Hotfix deadlock on platform setup
* fix wrong import
2016-11-12 16:19:13 -08:00
Pascal Vizeli and Paulus Schoutsen
3d47ad5018
Use hass aiohttp connector for ssl connection ( #4344 )
2016-11-12 16:00:31 -08:00
Pascal Vizeli and Paulus Schoutsen
cc5233103c
Fix rest switch default template ( #4331 )
2016-11-10 21:43:50 -08:00
Pascal Vizeli and Paulus Schoutsen
55ddaf1ee7
Synology SSL fix & Error handling ( #4325 )
...
* Synology SSL fix & Error handling
* change handling for cookies/ssl
* fix use not deprecated functions
* fix lint
* change verify
* fix connector close to coro
* fix force close
* not needed since websession close connector too
* fix params
* fix lint
2016-11-10 21:42:37 -08:00
Pascal Vizeli and Paulus Schoutsen
6860d9b096
Update SoCo to 0.12 ( #4337 )
...
* Update SoCo to 0.12
* fix req
2016-11-10 21:41:28 -08:00
Pascal Vizeli and Paulus Schoutsen
749fc583ea
Fix rest switch default template ( #4331 )
2016-11-10 21:32:08 -08:00
Pascal Vizeli and Paulus Schoutsen
844799a1f7
Synology SSL fix & Error handling ( #4325 )
...
* Synology SSL fix & Error handling
* change handling for cookies/ssl
* fix use not deprecated functions
* fix lint
* change verify
* fix connector close to coro
* fix force close
* not needed since websession close connector too
* fix params
* fix lint
2016-11-10 21:04:47 -08:00
Pascal Vizeli and Paulus Schoutsen
e005ebe989
Update SoCo to 0.12 ( #4337 )
...
* Update SoCo to 0.12
* fix req
2016-11-10 21:01:42 -08:00
Pascal Vizeli and GitHub
ba2ea35089
Add logging to platform/component setup ( #4300 )
...
* Add timeout to platform/component
* Revert "Add timeout to platform/component"
This reverts commit 280a311e485a54f731de5cf5368e0ff8ac83417f.
* Add logging data
* Change log message with paulus comments
2016-11-10 18:46:31 +01:00
Pascal Vizeli and Paulus Schoutsen
71da21dcc8
Change pending task sheduler to time based cleanup ( #4324 )
...
* Change pending task sheduler to time based cleanup
* update unittest
2016-11-09 08:41:17 -08:00
Pascal Vizeli and Paulus Schoutsen
8fc853ba11
Add more unittest for async_add_job ( #4320 )
...
* Add more unittest for async_add_job
* fix test
* lint
2016-11-08 20:01:05 -08:00
Pascal Vizeli and GitHub
114ece1848
Fix possible sigterm / unittest / Fix all lazy test ( #4297 )
...
* replace weakref with a list
* add unittest
* fix lint
* fix handling
* fix unittest
* change code style
* fix lazy tests
2016-11-08 10:24:50 +01:00
Pascal Vizeli and Paulus Schoutsen
2e0c185740
Async cleanup part 3 ( #4302 )
2016-11-07 22:31:40 -08:00
Pascal Vizeli and Paulus Schoutsen
618a86a37c
Set executor to 15 and help to reduce flooting async core with updates ( #4252 )
...
* Set executor to 15 and help to reduce flooting async core with udpates
* fix typing
* if it a executor, wait
* address comments from paulus
* add space for style :)
* fix spell
* Update entity_component.py
* Update entity_component.py
2016-11-06 22:28:03 -08:00
Pascal Vizeli and GitHub
382ac5c3b5
Async cleanups with new handling and executor ( #4234 )
2016-11-06 01:01:03 +01:00
Pascal Vizeli and Paulus Schoutsen
f367c49fb9
Sonos fix for slow update ( #4232 )
...
* Sonos fix for slow update
* fix auto update on discovery
* fix unittest
2016-11-05 16:59:52 -07:00
Pascal Vizeli and Paulus Schoutsen
ad8645baf4
Sonos fix for slow update ( #4232 )
...
* Sonos fix for slow update
* fix auto update on discovery
* fix unittest
2016-11-05 16:58:29 -07:00
Pascal Vizeli and Paulus Schoutsen
ece58ce78f
Remove ThreadPool with async executor ( #4154 )
...
* Remove ThreadPool with async executor
* Fix zigbee
* update unittest
* fix remote api
* add pending task to remote
* fix lint
* remove unused import
* remove old stuff for lazy tests
* fix bug and add a exception handler to executor
* change executor handling
* change to wait from gather
* fix unittest
2016-11-05 09:27:55 -07:00
Pascal Vizeli and William Scanlon
91227d9a2e
Refactory nest component/platforms ( #4219 )
...
* Refactory nest component/platforms
2016-11-04 20:22:47 -04:00
Pascal Vizeli and Paulus Schoutsen
d7b3c9c38e
Fix log owntrack log flooting ( #4198 )
2016-11-03 18:42:22 -07:00
Pascal Vizeli and Paulus Schoutsen
e5d69feb93
Fix blocking/stack trace with empty list ( #4191 )
2016-11-03 18:33:18 -07:00
Pascal Vizeli and GitHub
fcf318cf53
Bugfix windows have a other default loop now ( #4195 )
...
* Bugfix windows have a other default loop now
* fix handling with 3.4.2 that not support ensure_future
* make the same as ensure_future does
* fix spell
* fix lazy test
2016-11-03 11:07:47 +01:00
Pascal Vizeli and Johann Kellerman
c2a5f63b1f
Bugfix async Yr.no ( #4190 )
2016-11-03 11:09:03 +02:00
Pascal Vizeli and GitHub
26490109ac
Change event loop on windows ( #4075 )
...
* Change event loop on windows
* fix
* split PR
* remove set event loop
* Add paulus suggestion
* fix missing import
* revert stuff from PR Splitting
* fix event loop on test
2016-11-02 21:53:52 +01:00
Pascal Vizeli and Paulus Schoutsen
9c0455e3dc
Allow update entities on add_entities callback ( #4114 )
...
* Allow udpate entities on add_entities callback
* fix wrong position
* update force_update to update_before_add
* add unittest for update_befor_add
* fix unittest
* change mocking
2016-10-29 15:33:11 -07:00
Pascal Vizeli and GitHub
edeb31d74e
Fix bug with aioHTTP and none authentification ( #4116 )
2016-10-29 22:47:46 +02:00
Pascal Vizeli and Paulus Schoutsen
08a65a3b31
Async input_*/zone migration ( #4095 )
...
* Async input_*
* Async zone component
* rename service callback
2016-10-29 12:19:27 -07:00
Pascal Vizeli and Paulus Schoutsen
9afe066ec8
Fix name in openalpr cloud api ( #4097 )
2016-10-28 19:01:14 -07:00
Pascal Vizeli and GitHub
66541a6a19
Update ha-ffmpeg to version 0.15 ( #4096 )
2016-10-29 00:12:53 +02:00
Pascal Vizeli and GitHub
825ee3612d
fix some comments spell ( #4082 )
...
* fix some comments
* fix in an executor
* address paulus comments
2016-10-28 21:26:52 +02:00
Pascal Vizeli and Paulus Schoutsen
3324995e70
Async clientsession / fix stuff on aiohttp and camera platform ( #4084 )
...
* add websession
* convert to websession
* convert camera to async
* fix lint
* fix spell
* add import
* create task to loop
* fix test
* update aiohttp
* fix tests part 2
* Update aiohttp.py
2016-10-27 21:40:10 -07:00
Pascal Vizeli and GitHub
09db875ace
Fix async bug in automation ( #4078 )
2016-10-27 18:26:55 +02:00
Pascal Vizeli and Paulus Schoutsen
d5368f6f78
Async bootstrap / component init ( #3991 )
...
* Async bootstrap
* Adress comments
* Fix tests
* More fixes
* Tests fixes
2016-10-27 00:16:23 -07:00
Pascal Vizeli and Paulus Schoutsen
c32afcd961
Bugfix sonos ( #3926 )
...
* Bugfix Sonos
* lint
* Use player uid for looking of exists
* fix lint
* fix unittest
* Change player_id to unique_id
2016-10-20 08:36:48 -07:00
Pascal Vizeli and GitHub
754e93ff6a
Rename add_devices to async_add_devices like dev guide ( #3938 )
2016-10-19 00:35:22 +02:00
Pascal Vizeli and GitHub
14ef0ca786
Bugfix Template sensors ( #3931 )
2016-10-18 07:27:32 +02:00
Pascal Vizeli and GitHub
1540bb1279
Async template ( #3909 )
...
* port binary_sensor/template
* port sensor/template
* port switch/template
* fix unittest
* fix
* use task instead yield on it
* fix unittest
* fix unittest v2
* fix invalid config
* fix lint
* fix unuset import
2016-10-17 07:00:55 +02:00
Pascal Vizeli and GitHub
7484152be1
Async speedup add_device callback ( #3910 )
...
* Speed up entities processing from add_device callback
* fix lint
* fix bug
2016-10-17 00:35:57 +02:00
Pascal Vizeli and Paulus Schoutsen
0b8b9ecb94
Async EntitiesComponent ( #3820 )
...
* first version
* First draft component entities
* Change add_entities to callback from coroutine
* Fix bug add async_prepare_reload
* Group draft v1
* group async
* bugfix
* bugfix v2
* fix lint
* fix extract_entity_ids
* fix other things
* move get_component out of executor
* bugfix
* Address minor changes
* lint
* bugfix - should work now
* make group init async only
* change update handling to old stuff
* fix group handling, remove generator from init
* fix lint
* protect loop for spaming with updates
* fix lint
* update test_group
* fix
* update group handling
* fix __init__ async trouble
* move device_tracker to new layout
* lint
* fix group unittest
* Test with coroutine
* fix bug
* now it works 💯
* ups
* first part of suggestion
* add_entities to coroutine
* change group
* convert add async_add_entity to coroutine
* fix unit tests
* fix lint
* fix lint part 2
* fix wrong import delete
* change async_update_tracked_entity_ids to coroutine
* fix
* revert last change
* fix unittest entity id
* fix unittest
* fix unittest
* fix unittest entity_component
* fix group
* fix group_test
* try part 2 to fix test_group
* fix all entity_component
* rename _process_config
* Change Group to init with factory
* fix lint
* fix lint
* fix callback
* Tweak entity component and group
* More fixes
* Final fixes
* No longer needed blocks
* Address @bbangert comments
* Add test for group.stop
* More callbacks for automation
2016-10-16 09:35:46 -07:00
Pascal Vizeli and Paulus Schoutsen
f18f181962
Hotfix device name with autodiscovery ( #3791 )
2016-10-11 00:20:49 -07:00
Pascal Vizeli and GitHub
76a1a54369
Hotfix device name with autodiscovery ( #3791 )
2016-10-10 13:46:23 +02:00