Commit graph

25 commits

Author SHA1 Message Date
Pascal Vizeli
073f947ca4 Bump Home Assistant Cloud 0.12 ()
* Home Assistant Cloud 0.12

* Fix raising error

* Fix requirements

* Fix lint
2019-04-17 06:57:26 -07:00
Paulus Schoutsen
c96804954c Only allow admins to enable remote connection ()
* Only allow admins to enable remote connection

* Protect WS API

* Lint
2019-04-01 10:22:51 +02:00
Paulus Schoutsen
dbdf5558e6
Prevent cloud remote UI when using 127.0.0.1 as trusted network ()
* Prevent cloud remote UI when using trusted networks

* Limit to 127.0.0.1 trusted network

* Update error msg

* Disable ipv6 loopback
2019-03-15 19:26:10 -07:00
Paulus Schoutsen
d3960bf745
Fix some cloud things () 2019-03-12 11:49:46 -07:00
Paulus Schoutsen
d3bab30dbe Add cloud status ()
* Add cloud status

* Expose certificate details

* store & reset last state

* Fix tests

* update tests

* update req

* fix lint
2019-03-12 15:54:04 +01:00
Pascal Vizeli
92ff49212b Offload Cloud component ()
* Offload Cloud component & Remote support

* Make hound happy

* Address comments
2019-03-11 12:21:20 -07:00
Paulus Schoutsen
07b5b68a51 Improve cloud error handling ()
* Improve cloud error handling

* Lint
2019-02-04 10:14:30 +01:00
Paulus Schoutsen
7848381f43
Allow managing cloud webhook ()
* Add cloud webhook support

* Simplify payload

* Add cloud http api tests

* Fix tests

* Lint

* Handle cloud webhooks

* Fix things

* Fix name

* Rename it to cloudhook

* Final rename

* Final final rename?

* Fix docstring

* More tests

* Lint

* Add types

* Fix things
2018-11-26 14:10:18 +01:00
Paulus Schoutsen
d9c7f777c5
Add cloud pref for Google unlock () 2018-11-20 23:23:07 +01:00
Paulus Schoutsen
bf54582d76 Cloud conf ()
* Add original config to entityfilter

* Add alexa/google config to cloud status call

* Lint
2018-11-05 13:21:03 +01:00
Paulus Schoutsen
bdfd473aaa Reconnect if sub info comes in that is valid again () 2018-10-21 12:16:24 +02:00
Paulus Schoutsen
2e6346ca43 Break up websocket 2 ()
* Break up websocket 2

* Lint+Test

* Lintttt

* Rename
2018-10-01 16:09:31 +02:00
Paulus Schoutsen
092c146eae
Add option to disable specific integrations ()
* Add option to disable specific integrations

* Lint
2018-09-20 23:46:51 +02:00
Paulus Schoutsen
e58836f99f
Add subscription info endpoint ()
* Add subscription info endpoint

* Lint

* Lint

* Make decorator

* Lint
2018-09-20 14:53:13 +02:00
Paulus Schoutsen
4bd6776443
Google assistant sync ()
* Add Google Assistant Sync API

* Update const.py

* Async/await
2018-03-23 12:13:52 -07:00
Paulus Schoutsen
e5c4bba906 Remove unused cloud APIs () 2018-03-05 22:28:15 +01:00
Paulus Schoutsen
78c44180f4 Extract data validator to own file and add tests () 2018-02-14 21:06:03 +01:00
Fabian Affolter
47e31dc9ee Fixes for PEP257 ()
* Fixes for PEP257

* More updates
2018-01-20 22:35:38 -08:00
Paulus Schoutsen
f314b6cb6c Cloud Updates ()
* 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 () 2017-12-29 14:46:10 +01:00
Paulus Schoutsen
6e27e73474
Shopping list: add item HTTP API ()
* Shopping list: add item HTTP API

* Fix order of decorators
2017-11-20 21:44:22 -08:00
Paulus Schoutsen
ea7ffff0ca Cloud updates ()
* Update cloud

* Fix tests

* Lint
2017-11-15 08:16:19 +01:00
Paulus Schoutsen
0362a76cd6 Cloud connection via aiohttp ()
* 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 ()
* 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 ()
* 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