Pascal Vizeli
d9556392bc
Protect hm thread for hangs on events ( #4717 )
2016-12-04 11:02:33 -08:00
Pascal Vizeli
0ae6585a90
Bugfix sonos hosts ( #4698 )
2016-12-04 11:02:33 -08:00
Pascal Vizeli
b5c2be8ffa
Protect hm thread for hangs on events ( #4717 )
2016-12-04 15:31:24 +01:00
Pascal Vizeli
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
7746ecd98e
Migrate weather to async ( #4677 )
2016-12-03 17:58:43 -08:00
Pascal Vizeli
efdf51b542
Bugfix sonos hosts ( #4698 )
2016-12-04 00:31:27 +01:00
Pascal Vizeli
754d98bcd5
Cleanups on homematic climate ( #4685 )
2016-12-03 14:06:08 +01:00
Pascal Vizeli
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
8a042586f1
Migrate sensor to async ( #4663 )
2016-12-01 18:31:55 -08:00
Pascal Vizeli
bde7176b3c
Migrate light component to async ( #4635 )
2016-11-30 13:33:38 -08:00
Pascal Vizeli
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
b4841a17a6
Hotfix device_tracker yaml config ( #4611 )
2016-11-28 18:43:47 +01:00
Pascal Vizeli
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
8c56091af7
Hotfix executor pool size ( #4552 )
2016-11-24 14:53:46 -08:00
Pascal Vizeli
c04a002c55
Hotfix executor pool size ( #4552 )
2016-11-23 09:52:03 -08:00
Pascal Vizeli
c294a534d0
Migrate binary_sensor to async ( #4516 )
2016-11-22 22:47:43 -08:00
Pascal Vizeli
8e776b4dc0
Fix wrong name handling in rfxtrx sensor ( #4531 )
2016-11-22 12:47:37 -08:00
Pascal Vizeli
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
6869c7401e
Bugfix device_tracker init tracker scan ( #4514 )
2016-11-21 19:33:32 -08:00
Pascal Vizeli
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
859d0d5ad6
Bugfix device_tracker init tracker scan ( #4514 )
2016-11-21 19:32:21 -08:00
Pascal Vizeli
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
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
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
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
3d47ad5018
Use hass aiohttp connector for ssl connection ( #4344 )
2016-11-12 16:00:31 -08:00
Pascal Vizeli
cc5233103c
Fix rest switch default template ( #4331 )
2016-11-10 21:43:50 -08:00
Pascal Vizeli
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
6860d9b096
Update SoCo to 0.12 ( #4337 )
...
* Update SoCo to 0.12
* fix req
2016-11-10 21:41:28 -08:00
Pascal Vizeli
749fc583ea
Fix rest switch default template ( #4331 )
2016-11-10 21:32:08 -08:00
Pascal Vizeli
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
e005ebe989
Update SoCo to 0.12 ( #4337 )
...
* Update SoCo to 0.12
* fix req
2016-11-10 21:01:42 -08:00
Pascal Vizeli
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
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
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
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
2e0c185740
Async cleanup part 3 ( #4302 )
2016-11-07 22:31:40 -08:00
Pascal Vizeli
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
382ac5c3b5
Async cleanups with new handling and executor ( #4234 )
2016-11-06 01:01:03 +01:00
Pascal Vizeli
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
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
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
91227d9a2e
Refactory nest component/platforms ( #4219 )
...
* Refactory nest component/platforms
2016-11-04 20:22:47 -04:00
Pascal Vizeli
d7b3c9c38e
Fix log owntrack log flooting ( #4198 )
2016-11-03 18:42:22 -07:00
Pascal Vizeli
e5d69feb93
Fix blocking/stack trace with empty list ( #4191 )
2016-11-03 18:33:18 -07:00
Pascal Vizeli
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
c2a5f63b1f
Bugfix async Yr.no ( #4190 )
2016-11-03 11:09:03 +02:00
Pascal Vizeli
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
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
edeb31d74e
Fix bug with aioHTTP and none authentification ( #4116 )
2016-10-29 22:47:46 +02:00
Pascal Vizeli
08a65a3b31
Async input_*/zone migration ( #4095 )
...
* Async input_*
* Async zone component
* rename service callback
2016-10-29 12:19:27 -07:00
Pascal Vizeli
9afe066ec8
Fix name in openalpr cloud api ( #4097 )
2016-10-28 19:01:14 -07:00
Pascal Vizeli
66541a6a19
Update ha-ffmpeg to version 0.15 ( #4096 )
2016-10-29 00:12:53 +02:00
Pascal Vizeli
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
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
09db875ace
Fix async bug in automation ( #4078 )
2016-10-27 18:26:55 +02:00
Pascal Vizeli
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
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
754e93ff6a
Rename add_devices to async_add_devices like dev guide ( #3938 )
2016-10-19 00:35:22 +02:00
Pascal Vizeli
14ef0ca786
Bugfix Template sensors ( #3931 )
2016-10-18 07:27:32 +02:00
Pascal Vizeli
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
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
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
f18f181962
Hotfix device name with autodiscovery ( #3791 )
2016-10-11 00:20:49 -07:00
Pascal Vizeli
76a1a54369
Hotfix device name with autodiscovery ( #3791 )
2016-10-10 13:46:23 +02:00
Pascal Vizeli
f1e5d32ef5
Async exception handling ( #3731 )
...
* remove unused exception
* add logging
* disable pylint broad-except
* add exception handler
* fix lint
* update log output
* change log message in async with exc_info
* Add exc_info to asyncio exception handler
2016-10-07 17:20:39 -07:00
Pascal Vizeli
b9b41d3855
Update ha-alpr / change default interval ( #3691 )
2016-10-04 22:04:50 -07:00
Pascal Vizeli
f23eb9336f
Service & signal (stop/restart) fix ( #3690 )
...
* Bugfix signhandling/services
* change from coroutine to callback
* add error handling
* fix bug with endless running
* fix unit test
* Revert "fix unit test"
This reverts commit 31135c770923161f7afb3a31f4dd4fea99533a9c.
* Disable sigterm/sighup test
2016-10-04 21:01:08 -07:00
Pascal Vizeli
0bf8bb62ad
Service & signal (stop/restart) fix ( #3690 )
...
* Bugfix signhandling/services
* change from coroutine to callback
* add error handling
* fix bug with endless running
* fix unit test
* Revert "fix unit test"
This reverts commit 31135c770923161f7afb3a31f4dd4fea99533a9c.
* Disable sigterm/sighup test
2016-10-04 21:00:36 -07:00
Pascal Vizeli
625319846c
Big Homematic update ( #3677 )
...
* Update homeassistant with new pyhomematic layout
* fix linter
2016-10-03 23:21:53 +02:00
Pascal Vizeli
41aff96375
Bugfix temp convert on none temp attribute / unittest for that ( #3654 )
2016-10-03 10:46:31 +02:00
Pascal Vizeli
c189c05676
Add temp convert to climate base object ( #3611 )
...
* Add temp convert to climate base object
* fix nest
* fix lint
2016-10-01 22:15:19 -07:00
Pascal Vizeli
db56ed400d
Bugfix voluptuous acer_projector ( #3598 )
2016-09-29 18:56:09 -07:00
Pascal Vizeli
01435f7f42
Bugfix voluptuous acer_projector ( #3598 )
2016-09-29 18:36:20 -07:00
Pascal Vizeli
807daf8f5d
Bugfix voluptuous for hue ( #3589 )
2016-09-29 09:07:00 -07:00
Pascal Vizeli
08bacd8e31
Bugfix voluptuous for hue ( #3589 )
2016-09-29 09:06:41 -07:00
Pascal Vizeli
cae10cfe26
Use setup_component in tests v2 ( #3537 )
...
* setup_component - sun
* setup_component - updater
* setup_component - weblink
2016-09-26 23:20:36 +02:00
Pascal Vizeli
bbfd86dec3
Use setup_component in tests v1 ( #3507 )
...
* update unittests like #3414
* setup_component - splunk
* setup_component - statsd
* fix statsd & splunk unittest config values
* component_setup - device_sun_light_trigger
* setup_component - introduction
* component_setup - persistent_notification
* setup_component - logentries, mqtt eventstream
* fix unittest logentries
2016-09-25 23:15:21 +02:00
Pascal Vizeli
4a5cc5ad3d
Add new component for licence plates processing (OpenAlpr) ( #3461 )
...
* Add new component for licence plates processing (OpenAlpr)
* address balloobbot comments
* add to coveragerc
* move config from device to base
* fix lint
* move local api test to voluptous
* split render engine
* change cloud_api pip string & lint
* update requirements_all.txt
* fix lint
* update cloud_api url
* convert base64 byte string to string
* Update cloudapi / add configence / add state
* fix lint
* change state to high confidence plate
* fix cloudapi
* fix local api detection
* add wraper for local api
* fix lint
* fix wrong import
* fix HAAlpr name
* update ha-alpr without async
* support only eventbased requests with interval 0
* fix minor things
* fix lint
* fix lint2
2016-09-24 00:07:42 -07:00
Pascal Vizeli
3418d03e69
convert first to string befor matching ( #3476 )
2016-09-22 00:03:32 -07:00
Pascal Vizeli
b7430d939d
Bugfix voluptuous on recorder ( #3350 )
2016-09-21 08:34:22 -07:00
Pascal Vizeli
de4cc5034e
Add toggle service to input_boolean ( #3432 )
2016-09-18 10:18:44 -07:00
Pascal Vizeli
534f56a3e2
Bugfix if ffmpeg is not present on config / Update ha-ffmpeg 0.13 ( #3418 )
2016-09-17 22:57:18 -07:00
Pascal Vizeli
07a92e8ac3
Split ffmpeg to compoment ( #3396 )
...
Add an optional extended description…
2016-09-15 14:35:40 +02:00
Pascal Vizeli
b78e98702a
Update yahooweather 0.8 / change request time ( #3352 ) [Breaking change]
2016-09-13 23:04:26 -07:00
Pascal Vizeli
1697a8c774
SleepIQ component with sensor and binary sensor platforms ( #3390 )
...
Original from #2949
2016-09-14 00:11:50 +02:00
Pascal Vizeli
e4f4e91096
Bugfix auto/manual mode change ( #3384 )
2016-09-13 21:43:37 +02:00
Pascal Vizeli
812dc99073
fix xbox live entity id ( #3368 )
2016-09-13 21:27:43 +02:00
Pascal Vizeli
bc600b8f32
Bugfix voluptuous on recorder ( #3350 )
2016-09-12 18:33:11 -07:00
Pascal Vizeli
d7e3fa22eb
Bugfix voluptuous on recorder ( #3350 )
2016-09-12 18:21:35 -07:00
Pascal Vizeli
a9ef8d8568
Update ha-ffmpeg version 0.12 and add tests ( #3301 )
...
* update ha-ffmpeg version 0.12 and add tests
* change error logging
2016-09-12 22:52:49 +02:00
Pascal Vizeli
e87da765c5
cleanup Homematic code ( #3291 )
...
* cleanup old code
* cleanup round 2
* remove unwanted platforms
2016-09-09 19:33:12 +02:00
Pascal Vizeli
267cda447e
Add support for complex template structures to data_template ( #3255 )
2016-09-08 18:19:47 +02:00
Pascal Vizeli
24aa3b3c97
Add voluptuous to ecobee ( #3257 )
2016-09-08 16:11:00 +02:00
Pascal Vizeli
e632a47772
protect service data for changes in calls ( #3249 )
...
* protect service data for changes in calls
* change handling
* move MappingProxyType to service call
2016-09-07 08:19:19 -07:00
Pascal Vizeli
91028cbc13
Change PR to suggestion on gitter ( #3243 )
2016-09-07 06:57:59 -07:00
Pascal Vizeli
d7b757fb97
fix bugfix with unique_id ( #3217 )
2016-09-06 18:31:56 -07:00
Pascal Vizeli
165871d48a
update ffmpeg version to 0.10 add get image to camera ( #3235 )
2016-09-06 18:24:11 -07:00
Pascal Vizeli
9eacde0005
Use voluptuous for pushbullet, pushetta and pushover ( #3240 )
2016-09-06 18:00:33 -06:00
Pascal Vizeli
22870d424a
Use voluptuous for gntp ( #3237 )
2016-09-06 16:16:21 -06:00