Paulus Schoutsen and GitHub
519d9f2fd0
async HTTP component ( #3914 )
...
* 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
Paulus Schoutsen
0fce5ccc7f
Update frontend
2016-10-22 11:24:06 -07:00
Paulus Schoutsen and GitHub
ca6fa1313e
Fix updater, add new fields ( #3982 )
...
* Fix updater
* Add Docker and virtualenv checks
* Add log line informing user of update/analytics
* Remove str
2016-10-21 23:30:40 -07:00
Paulus Schoutsen
b821a82417
Merge remote-tracking branch 'origin/master' into dev
2016-10-21 20:57:07 -07:00
Paulus Schoutsen
da7837af73
Update frontend
2016-10-21 20:52:58 -07:00
Paulus Schoutsen
53b5dc8e84
Build frontend
2016-10-18 09:10:22 -07:00
Paulus Schoutsen and GitHub
4c8d1d9d2f
Clean up some async stuff ( #3915 )
...
* Clean up some async stuff
* Adjust comments
* Pass hass instance to eventbus
2016-10-17 19:38:41 -07:00
Paulus Schoutsen
6581dc2381
Document more core pieces
2016-10-16 13:45:17 -07:00
Paulus Schoutsen
31ec0ac6a7
Add util.async to the dev docs
2016-10-16 13:35:01 -07:00
Paulus Schoutsen
f916fc04f9
Update frontend
2016-10-14 00:02:21 -07:00
Paulus Schoutsen and GitHub
d4e2332ce0
Merge pull request #3814 from home-assistant/release-0-30-1
...
0.30.2
2016-10-11 22:28:00 -07:00
Paulus Schoutsen and GitHub
a8cdf36d5c
Update recorder callback ( #3812 )
2016-10-11 00:58:43 -07:00
Paulus Schoutsen
dfe9af7110
Version bump to 0.30.2
2016-10-11 00:21:01 -07:00
Paulus Schoutsen and GitHub
c9a88322d6
Merge pull request #3765 from home-assistant/hotfix-0-30-1
...
0.30.1
2016-10-08 14:50:52 -07:00
Paulus Schoutsen
46b58db2ff
Version bump to 0.30.1
2016-10-08 14:42:47 -07:00
Paulus Schoutsen
1e2e877302
Version bump to 0.31.0.dev0
2016-10-08 09:58:28 -07:00
Paulus Schoutsen and GitHub
4239a2b844
Merge pull request #3715 from home-assistant/dev
...
0.30
2016-10-08 09:58:08 -07:00
Paulus Schoutsen
408b68bfac
Version bump to 0.30.0
2016-10-08 09:57:51 -07:00
Paulus Schoutsen and Johann Kellerman
fe317b806f
Close event loop to avoid error on exiting HASS ( #3762 )
2016-10-08 18:56:36 +02:00
Paulus Schoutsen
09cbf68637
Update frontend
2016-10-08 09:23:45 -07:00
Paulus Schoutsen
e4e13b59cf
Update frontend
2016-10-04 23:15:10 -07:00
Paulus Schoutsen and GitHub
8c694eb279
Speed up MQTT server test ( #3703 )
2016-10-04 22:49:43 -07:00
Paulus Schoutsen and GitHub
9d085a023c
Merge pull request #3706 from home-assistant/hotfix-0-29-7b
...
Fix broken unit tests
2016-10-04 22:47:46 -07:00
Paulus Schoutsen
114fae76e1
Fix broken unit tests
2016-10-04 22:23:58 -07:00
Paulus Schoutsen and GitHub
4f0064b00e
Fix broken tests ( #3704 )
...
* Fix broken tests
* Lint
2016-10-04 22:19:12 -07:00
Paulus Schoutsen and GitHub
e49651cdeb
Merge pull request #3702 from home-assistant/hotfix-0-29-7
...
0.29.7
2016-10-04 21:03:47 -07:00
Paulus Schoutsen
a60e845203
Version bump to 0.29.7
2016-10-04 21:01:28 -07:00
Paulus Schoutsen and GitHub
5085cdb0f7
Add async_safe annotation ( #3688 )
...
* Add async_safe annotation
* More async_run_job
* coroutine -> async_save
* Lint
* Rename async_safe -> callback
* Add tests to core for different job types
* Add one more test with different type of callbacks
* Fix typing signature for callback methods
* Fix callback service executed method
* Fix method signatures for callback
2016-10-04 20:44:32 -07:00
Paulus Schoutsen and GitHub
d58548dd1c
Address asyncio comments ( #3663 )
...
* Template platforms: create_task instead of yield from
* Automation: less yielding, more create_tasking
* Helpers.script: less yielding, more create_tasking
* Deflake logbook test
* Deflake automation reload config test
* MQTT: Use async_add_job and threaded_listener_factory
* Deflake other logbook test
* lint
* Add test for automation trigger service
* MQTT client can be called from within async
2016-10-03 22:39:27 -07:00
Paulus Schoutsen
148ea82513
Update frontend
2016-10-02 15:38:18 -07:00
Paulus Schoutsen and GitHub
abb8bcb6d9
Protect waiting for event loop from within event loop ( #3658 )
...
* Protect waiting for event loop from within event loop
* Faster fetching of loop attribute for ident check
2016-10-02 15:07:23 -07:00
Paulus Schoutsen
d5ab292ff3
Sensor.emoncms: Never disable SSL verification.
2016-10-01 23:13:07 -07:00
Paulus Schoutsen
1f1ac02457
Merge branch 'pr/3552' into dev
2016-10-01 22:20:58 -07:00
Paulus Schoutsen and GitHub
996d7cf1cd
Merge pull request #3627 from home-assistant/async-entity-update
...
Add async updates to entities
2016-10-01 16:20:48 -07:00
Paulus Schoutsen
c36d30f4fe
Typo
2016-10-01 15:43:33 -07:00
Paulus Schoutsen
8f3e12c9b8
Make Automation.reload_service_handler async
2016-10-01 15:42:17 -07:00
Paulus Schoutsen
56fdc2a625
Automation: call prepare_setup_platform in executor
2016-10-01 14:11:16 -07:00
Paulus Schoutsen
e18825ba20
Automation: only call executor once when processing config
2016-10-01 14:11:16 -07:00
Paulus Schoutsen
7ab7edd81c
Make automation async
2016-10-01 14:11:16 -07:00
Paulus Schoutsen
16ff68ca84
Add mqtt.async_subscribe
2016-10-01 14:11:16 -07:00
Paulus Schoutsen
b8504f8fc8
Make helpers.script async
2016-10-01 14:11:16 -07:00
Paulus Schoutsen
185bd6c28a
Make helpers.condition.* async
2016-10-01 14:11:16 -07:00
Paulus Schoutsen
33a51623f8
Make Service.call_from_config async
2016-10-01 14:11:16 -07:00
Paulus Schoutsen
4198c42736
Have template platforms never leave the event loop
2016-10-01 14:11:16 -07:00
Paulus Schoutsen and GitHub
3e24a35c1e
Skip RFXtrx tests unless RFXTRX=RUN ( #3625 )
...
* Skip RFXtrx tests unless RFXTRX=RUN
* Remove my previous hacks to slightly speed up rfxtrx
* Exclude RFXTRX tests from coverage
* Remove unused import in rfxtrx tstt
* Add close connection back to RFXtrx tests
* Typo
2016-10-01 13:57:10 -07:00
Paulus Schoutsen and GitHub
651f3ab55c
Merge pull request #3641 from home-assistant/hotfix-0-29-6
...
0.29.6
2016-10-01 12:12:56 -07:00
Paulus Schoutsen
756f23f0b4
Version bump to 0.29.6
2016-10-01 12:10:00 -07:00
Paulus Schoutsen
ef0e018cbb
Service config calls will no longer mutate original config ( #3628 )
2016-10-01 12:09:25 -07:00
Paulus Schoutsen and Fabian Affolter
bb03960ba5
Voluptuous arest ( #3558 )
...
* Migrate to voluptuous
* Adjust sensor.arest for new template system
* Use items() to align the var section with the pins
2016-10-01 18:45:43 +02:00
Paulus Schoutsen and GitHub
412b5350ce
Service config calls will no longer mutate original config ( #3628 )
2016-09-30 23:26:15 -07:00
Paulus Schoutsen and GitHub
b650b2b0db
Spread async love ( #3575 )
...
* Convert Entity.update_ha_state to be async
* Make Service.call async
* Update entity.py
* Add Entity.async_update
* Make automation zone trigger async
* Fix linting
* Reduce flakiness in hass.block_till_done
* Make automation.numeric_state async
* Make mqtt.subscribe async
* Make automation.mqtt async
* Make automation.time async
* Make automation.sun async
* Add async_track_point_in_utc_time
* Make helpers.track_sunrise/set async
* Add async_track_state_change
* Make automation.state async
* Clean up helpers/entity.py tests
* Lint
* Lint
* Core.is_state and Core.is_state_attr are async friendly
* Lint
* Lint
2016-09-30 12:57:24 -07:00
Paulus Schoutsen and GitHub
d76cf092c3
Merge pull request #3610 from home-assistant/hotfix-0-29-5
...
0.29.5
2016-09-30 00:24:59 -07:00
Paulus Schoutsen
dfb92fa836
Version bump to 0.29.5
2016-09-30 00:15:14 -07:00
Paulus Schoutsen
5cb8ce71ef
Lint
2016-09-30 00:14:59 -07:00
Paulus Schoutsen
234f4449b0
Lint
2016-09-30 00:14:08 -07:00
Paulus Schoutsen
7ac8425099
Fix tests
2016-09-29 21:42:36 -07:00
Paulus Schoutsen and GitHub
4031f70665
Merge pull request #3603 from home-assistant/hotfix-0-29-4
...
Hotfix 0 29 4
2016-09-29 18:59:09 -07:00
Paulus Schoutsen
2b59409e52
Version 0.29.4
2016-09-29 18:57:33 -07:00
Paulus Schoutsen
c603ffbe26
Fix voluptuous alexa config ( #3596 )
2016-09-29 18:56:09 -07:00
Paulus Schoutsen and GitHub
733120c577
Fix voluptuous alexa config ( #3596 )
2016-09-29 18:45:55 -07:00
Paulus Schoutsen and GitHub
77c91c8a5e
Merge pull request #3590 from home-assistant/hotfix-0-29-3
...
Hotfix 0 29 3
2016-09-29 09:09:51 -07:00
Paulus Schoutsen
a321c2f0d8
Version bump to 0.29.3
2016-09-29 09:07:19 -07:00
Paulus Schoutsen and GitHub
f79d762e66
Merge pull request #3585 from home-assistant/hotfix-29-2
...
Hotfix 29 2
2016-09-29 08:18:51 -07:00
Paulus Schoutsen
30aa67b789
Version bump to 0.29.2
2016-09-29 07:50:34 -07:00
Paulus Schoutsen
f3d838c448
Version bump to 0.29.1
2016-09-28 22:08:02 -07:00
Paulus Schoutsen
8e14da7454
Version bump to 0.29
2016-09-28 21:21:13 -07:00
Paulus Schoutsen
6e80581b30
Version bump to 0.30.0.dev0
2016-09-28 21:21:03 -07:00
Paulus Schoutsen
9780ea5c52
Version bump to 0.29
2016-09-28 21:20:47 -07:00
Paulus Schoutsen and GitHub
c4d817146f
Merge pull request #3486 from home-assistant/dev
...
0.29 - 🎈 anniversary edition
2016-09-28 20:59:50 -07:00
Paulus Schoutsen and GitHub
4b8bc90d16
Limit worker pool to 10 threads ( #3560 )
...
* Limit worker pool to 10 threads
* Comment evdev in requirements
* Allow skipping RFXtrx tests locally
* Fix worker pool size tests
* lol whut
2016-09-28 00:05:38 -07:00
Paulus Schoutsen and GitHub
00e298206e
Optimize template 2 ( #3521 )
...
* Enforce compiling templates
* Refactor templates
* Add template validator to Logbook service
* Some more fixes
* Lint
* Allow easy skipping of rfxtrx tests
* Fix template bug in AND & OR conditions
* add entities extractor
Conflicts:
tests/helpers/test_template.py
* fix unittest
* Convert template to be async
* Fix Farcy
* Lint fix
* Limit template updates to related entities
* Make template automation async
2016-09-27 21:29:55 -07:00
Paulus Schoutsen and GitHub
0c0feda834
Pre-compile templates ( #3515 )
...
* Pre-compile templates
* Compile templates in numeric_state condition
2016-09-25 13:33:01 -07:00
Paulus Schoutsen
36921748ed
Merge branch 'master' into dev
...
Conflicts:
homeassistant/components/climate/ecobee.py
homeassistant/components/cover/wink.py
homeassistant/const.py
2016-09-24 01:03:56 -07:00
Paulus Schoutsen and GitHub
b628fb088b
Merge pull request #3503 from home-assistant/fix-platform-component-no-config
...
Allow platform components without config
2016-09-24 00:15:58 -07:00
Paulus Schoutsen
a1488b46f6
Fix zone being setup twice
2016-09-24 00:04:03 -07:00
Paulus Schoutsen
ac4e54c6ff
Filter out falsey platform configs
2016-09-24 00:03:44 -07:00
Paulus Schoutsen and GitHub
8251039ca4
Fix nmap config ( #3482 )
2016-09-22 08:44:18 -07:00
Paulus Schoutsen and GitHub
3dea4be2cc
Fix missing commits from 0.28
...
Add missing commits to master
2016-09-21 08:52:30 -07:00
Paulus Schoutsen
8f9fea37b2
Merge branch 'master' into potential-master-fix
2016-09-21 08:50:53 -07:00
Paulus Schoutsen
5fd93e8d80
Version bump to 0.28.2
2016-09-21 08:34:22 -07:00
Paulus Schoutsen
9aff839925
Version bump to 0.28.1
2016-09-21 08:34:22 -07:00
Paulus Schoutsen
287f9c9bda
Bugfix group order ( #3323 )
...
* Add ordered dict config validator
* Have group component use ordered dict config validator
* Improve config_validation testing
* update doc string config_validation.ordered_dict
* validate full dict entries
* Further simplify ordered_dict validator.
* Lint fix
2016-09-21 08:34:22 -07:00
Paulus Schoutsen
68835c4b4b
Update frontend
2016-09-19 23:56:40 -07:00
Paulus Schoutsen and GitHub
be68fe0d85
Move worker pool monitoring to be time based instead of add_job based. ( #3439 )
...
* Move worker pool monitoring to be time based instead of add_job based.
* Stub out worker pool monitor during tests
* Add test for monitor worker pool.
* Improve naming
* Test stop_monitor coroutine
* Add async_create_timer test
* Finish rename create_timer
2016-09-19 23:39:49 -07:00
Paulus Schoutsen and GitHub
9ac39df33f
Fix logger config validation ( #3459 )
2016-09-19 21:12:56 -07:00
Paulus Schoutsen
fa2ce366de
Update frontend
2016-09-19 21:12:31 -07:00
Paulus Schoutsen and GitHub
d6ad4bc22b
Remove validate_config ( #3448 )
2016-09-18 21:40:49 -07:00
Paulus Schoutsen and GitHub
87fe83dcb9
Fix slow tests ( #3444 )
...
* Fix RFXtrx tests
* Report slow tests on CI
* Minor rfxtrx clean up
* rfxtrx test tweak
2016-09-18 21:40:37 -07:00
Paulus Schoutsen and GitHub
8a99ce78c2
Better Hue error reporting ( #3443 )
2016-09-18 19:59:38 -07:00
Paulus Schoutsen and GitHub
9a87e5e336
Feature/voluptuous influxdb ( #3441 )
...
* Migrate to voluptuous
* Fix voluptuous influxdb
2016-09-18 15:32:18 -07:00
Paulus Schoutsen and GitHub
da8994e4b5
Migrate camera.uvc to voluptuous ( #3440 )
2016-09-18 14:22:32 -07:00
Paulus Schoutsen
c89a77dc74
Update frontend
2016-09-18 00:04:43 -07:00
Paulus Schoutsen and GitHub
e19a092934
Update Docker to use Python 3.5 ( #3430 )
2016-09-17 23:32:11 -07:00
Paulus Schoutsen and GitHub
325220e009
Make track_point_in_utc_time more async ( #3428 )
...
* Make track_point_in_utc_time more async
* Make track_point_in_time async friendly
2016-09-17 19:51:18 -07:00
Paulus Schoutsen and GitHub
aca375c312
Asyncio event helpers ( #3415 )
...
* Automation - Event: Use coroutine
* Convert event helpers to coroutine
* Fix linting
* Add hass.async_add_job
* Automation - Event to use async_add_job
2016-09-17 18:28:01 -07:00
Paulus Schoutsen and GitHub
4076ccf639
Use setup_component in tests ( #3414 )
...
* Alarm Control Panel Manual - use setup_component
* Update automation - zone tests
* Update climate - demo tests
* Update climate - generic thermostat tests
* Update cover - command line tests
* Update cover - demo tests
* Update device tracker tests
* Update device tracker - owntracks tests
* Update fan - demo tests
* Update garage door - demo tests
* Update light tests
* Update lock - demo tests
* Update media player - demo tests
* Update notify - command line tests
* Update notify - demo tests
* Update notify - file tests
* Update notify - group tests
* Update sensor - mfi tests
* Update sensor - moldindicator tests
* Update sensor - mqtt room tests
* Update switch - command line
* Update switch - flux
* Update switch tests
* Update scene tests
* Fix wrong default port for mfi switch
2016-09-17 10:29:58 -07:00
Paulus Schoutsen and GitHub
c23ad3e285
Fix zones ( #3413 )
2016-09-15 19:40:18 -07:00
Paulus Schoutsen and GitHub
db3bfad0b5
Merge pull request #3359 from home-assistant/hotfix-0-28-2
...
0.28.2
2016-09-12 21:28:57 -07:00
Paulus Schoutsen and Ben Bangert
609d7ebea5
Migrate core from threads to async awesomeness ( #3248 )
...
* Add event loop to the core
* Add block_till_done to HA core object
* Fix some tests
* Linting core
* Fix statemachine tests
* Core test fixes
* fix block_till_done to wait for loop and queue to empty
* fix test_core for passing, and correct start/stop/block_till_done
* Fix remote tests
* Fix tests: block_till_done
* Fix linting
* Fix more tests
* Fix final linting
* Fix remote test
* remove unnecessary import
* reduce sleep to avoid slowing down the tests excessively
* fix remaining tests to wait for non-threadsafe operations
* Add async_ doc strings for event loop / coroutine info
* Fix command line test to block for the right timeout
* Fix py3.4.2 loop var access
* Fix SERVICE_CALL_LIMIT being in effect for other tests
* Fix lint errors
* Fix lint error with proper placement
* Fix slave start to not start a timer
* Add asyncio compatible listeners.
* Increase min Python version to 3.4.2
* Move async backports to util
* Add backported async tests
* Fix linting
* Simplify Python version check
* Fix lint
* Remove unneeded try/except and queue listener appproriately.
* Fix tuple vs. list unorderable error on version compare.
* Fix version tests
2016-09-12 19:16:14 -07:00
Paulus Schoutsen
b9154158e8
Version bump to 0.28.2
2016-09-12 18:33:36 -07:00