Paulus Schoutsen
2f71f8908b
Don't use keyset ( #17984 )
2018-10-29 21:25:17 +01:00
Ville Skyttä
43048962f2
Upgrade flake8 to 3.6.0 ( #17770 )
...
* Upgrade flake8 to 3.6.0
* flake8/pylint comment tweaks
* flake8 F841 fixes
* flake8 W605 fix
* Ignore pyflakes bug #373 false positives
https://github.com/PyCQA/pyflakes/issues/373
* pycodestyle bug #811 workaround
https://github.com/PyCQA/pycodestyle/issues/811
2018-10-25 23:15:20 +03:00
Paulus Schoutsen
bdfd473aaa
Reconnect if sub info comes in that is valid again ( #17651 )
2018-10-21 12:16:24 +02:00
Paulus Schoutsen
326787ef1a
Add another 3 days leeway to give time for payment processing times ( #17542 )
2018-10-17 10:45:01 +02:00
cdce8p
7f0a50ce31
async_create_task ( #17059 )
...
* async_create_task
* Update google.py
2018-10-02 11:03:09 +02:00
Paulus Schoutsen
2e6346ca43
Break up websocket 2 ( #17028 )
...
* Break up websocket 2
* Lint+Test
* Lintttt
* Rename
2018-10-01 16:09:31 +02:00
cdce8p
9aaf11de8c
Async syntax 8/8 ( #17022 )
...
* Async syntax 8
* Pylint fixes
2018-10-01 08:52:42 +02:00
Paulus Schoutsen
092c146eae
Add option to disable specific integrations ( #16757 )
...
* Add option to disable specific integrations
* Lint
2018-09-20 23:46:51 +02:00
Paulus Schoutsen
e58836f99f
Add subscription info endpoint ( #16727 )
...
* Add subscription info endpoint
* Lint
* Lint
* Make decorator
* Lint
2018-09-20 14:53:13 +02:00
Ville Skyttä
1c42caba76
Pylint 2 useless-return fixes ( #15677 )
2018-07-25 19:35:57 +02:00
Paulus Schoutsen
e746b92e0e
Fix deprecated code ( #14681 )
2018-05-29 23:14:58 +02:00
Paulus Schoutsen
12dff5baa8
Add room hint support to Google Assistant cloud ( #14180 )
2018-04-30 21:05:29 +02:00
Paulus Schoutsen
4bd6776443
Google assistant sync ( #13392 )
...
* Add Google Assistant Sync API
* Update const.py
* Async/await
2018-03-23 12:13:52 -07:00
Paulus Schoutsen
9b1a75a74b
Refactor Google Assistant ( #12959 )
...
* Refactor Google Assistant
* Fix cloud test
* Fix supported features media player demo
* Fix query
* Fix execute
* Fix demo media player tests
* Add tests for traits
* Lint
* Lint
* Add integration tests
* Add more tests
* update logging
* Catch out of range temp errrors
* Fix cloud error
* Lint
2018-03-08 14:39:10 -08:00
Paulus Schoutsen
e5c4bba906
Remove unused cloud APIs ( #12913 )
2018-03-05 22:28:15 +01:00
Paulus Schoutsen
228b030c82
Cloud unauth ( #12840 )
...
* Handle expired refresh token better
* Retry less aggressive
* Newline
2018-03-02 10:33:05 -08:00
Paulus Schoutsen
51c06e35cf
Cloud reconnect tweaks ( #12586 )
2018-02-21 12:55:33 -08:00
Paulus Schoutsen
39847ea651
Clarify cloud error ( #12540 )
...
* Clarify cloud error
* Fix tests
2018-02-20 12:31:43 +01:00
Paulus Schoutsen
3fd61d8f45
Update voluputous ( #12463 )
...
* Update voluputous
* Fix http config
* Fix optional with default=None
* Optional, default=none
* Fix defaults in voluptuous schemas
* Fix tests
* Fix update error
* Lint
2018-02-17 10:29:14 +01:00
Paulus Schoutsen
78c44180f4
Extract data validator to own file and add tests ( #12401 )
2018-02-14 21:06:03 +01:00
Otto Winter
678f284015
Upgrade pylint to 1.8.2 ( #12274 )
...
* Upgrade pylint to 1.8.1
* Fix no-else-return
* Fix bad-whitespace
* Fix too-many-nested-blocks
* Fix raising-format-tuple
See https://github.com/PyCQA/pylint/blob/master/doc/whatsnew/1.8.rst
* Fix len-as-condition
* Fix logging-not-lazy
Not sure about that TEMP_CELSIUS though, but internally it's probably just like if you concatenated any other (variable) string
* Fix stop-iteration-return
* Fix useless-super-delegation
* Fix trailing-comma-tuple
Both of these seem to simply be bugs:
* Nest: The value of self._humidity never seems to be used anywhere
* Dovado: The called API method seems to expect a "normal" number
* Fix redefined-argument-from-local
* Fix consider-using-enumerate
* Fix wrong-import-order
* Fix arguments-differ
* Fix missed no-else-return
* Fix no-member and related
* Fix signatures-differ
* Revert "Upgrade pylint to 1.8.1"
This reverts commit af78aa00f125a7d34add97b9d50c14db48412211.
* Fix arguments-differ
* except for device_tracker
* Cleanup
* Fix test using positional argument
* Fix line too long
I forgot to run flake8 - shame on me... 🙃
* Fix bad-option-value for 1.6.5
* Fix arguments-differ for device_tracker
* Upgrade pylint to 1.8.2
* 👕 Fix missed no-member
2018-02-11 09:20:28 -08:00
Paulus Schoutsen
f2296e1ff8
Retry keyset cloud ( #12270 )
...
* Use less threads in helpers.event tests
* Add helpers.event.async_call_later
* Cloud: retry fetching keyset
2018-02-10 11:40:24 +01:00
Fabian Affolter
47e31dc9ee
Fixes for PEP257 ( #11810 )
...
* Fixes for PEP257
* More updates
2018-01-20 22:35:38 -08:00
Paulus Schoutsen
8313225b40
Move Google Assistant entity config out of customize ( #11499 )
...
* Move Google Assistant entity config out of customize
* CONF_ALIAS -> CONF_ALIASES
* Lint
2018-01-09 15:14:56 -08:00
Paulus Schoutsen
8b57777ce9
Alexa to not use customize for entity config ( #11461 )
...
* Alexa to not use customize for entity config
* Test Alexa entity config
* Improve tests
* Fix test
2018-01-05 12:33:22 -08:00
Paulus Schoutsen
b7c7041873
Add some tests to the cloud component ( #11460 )
2018-01-04 21:40:18 -08:00
Paulus Schoutsen
2cf5acdfd2
Google Assistant -> Google Actions ( #11442 )
2018-01-03 17:26:58 -08:00
Paulus Schoutsen
f314b6cb6c
Cloud Updates ( #11404 )
...
* Verify stored keys on startup
* Handle Google Assistant messages
* Fix tests
* Don't verify expiration when getting claims
* Remove email based check
* Lint
* Lint
* Lint
2018-01-03 19:16:59 +01:00
Paulus Schoutsen
cfd78f7b02
Add HTTP endpoint for resending email confirmation ( #11354 )
2017-12-29 14:46:10 +01:00
Paulus Schoutsen
7a600ea064
Add heartbeat to websocket connections ( #11298 )
2017-12-26 10:59:41 +01:00
Paulus Schoutsen
b56675a7bb
Don't connect to cloud if subscription expired ( #11163 )
...
* Final touch for cloud component
* Fix test
2017-12-16 00:42:25 -08:00
Paulus Schoutsen
168065b9bc
Update Warrant ( #11101 )
...
* Update Warrant
* Lint
2017-12-12 21:12:41 -08:00
Paulus Schoutsen
fe0a9529ed
Cloud cognito switch ( #10823 )
...
* Allow email based cognito instance
* Fix quitting Home Assistant while reconnecting
* Lint
2017-11-27 10:09:17 +01:00
Paulus Schoutsen
6e27e73474
Shopping list: add item HTTP API ( #10674 )
...
* Shopping list: add item HTTP API
* Fix order of decorators
2017-11-20 21:44:22 -08:00
Robbie Trencheny
1317297191
Implement entity and domain exclude/include for Alexa ( #10647 )
...
* Implement entity and domain exclude/include for Alexa
* Switch to using generate_filter
* Use proper domain for turn on/off calls except for groups where we must use the generic homeassistant.turn_on/off
* travis fixes
* Untangle
* Lint
2017-11-17 21:10:24 -08:00
Paulus Schoutsen
ea7ffff0ca
Cloud updates ( #10567 )
...
* Update cloud
* Fix tests
* Lint
2017-11-15 08:16:19 +01:00
Paulus Schoutsen
a4f7828363
Cloud: Authenticate with id token ( #10304 )
2017-11-03 07:30:05 +01:00
Fabian Affolter
115c59d88c
Move constant to 'const.py' and use already definied ones ( #10204 )
2017-10-29 12:32:02 +01:00
Paulus Schoutsen
6cce934f72
Improve SSL certs used by aiohttp ( #9958 )
...
* Improve SSL certs used by aiohttp
* Add certifi package
* Lint
2017-10-19 10:47:57 +02:00
Paulus Schoutsen
3700fce859
Allow flexible relayer url ( #9939 )
2017-10-17 23:00:36 -07:00
Paulus Schoutsen
0362a76cd6
Cloud connection via aiohttp ( #9860 )
...
* Cloud: connect to cloud
* Fix tests in py34
* Update warrant to 0.5.0
* Differentiate errors between unknown handler vs exception
* Lint
* Respond to cloud message to logout
* Refresh token exception handling
* Swap out bare exception for RuntimeError
* Add more tests
* Fix tests py34
2017-10-14 19:43:14 -07:00
Paulus Schoutsen
c9fc3fae6e
Update cloud auth ( #9357 )
...
* Update cloud logic
* Lint
* Update test requirements
* Address commments, fix tests
* Add credentials
2017-09-12 18:47:04 +02:00
Paulus Schoutsen
0b58d5405e
Add cloud auth support ( #9208 )
...
* Add initial cloud auth
* Move hass.data to a dict
* Move mode into helper
* Fix bugs afte refactor
* Add tests
* Clean up scripts file after test config
* Lint
* Update __init__.py
2017-08-29 13:40:08 -07:00