Commit Graph

23 Commits (53aed22d5caa23d946390ae45d9025861d42dedb)

Author SHA1 Message Date
epenet 358922db56
Use dataclass for HassioServiceInfo ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 14:05:56 +01:00
epenet 0723b1c539
Introduce HassioServiceInfo ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-02 11:17:54 -08:00
Ville Skyttä a598d9f353
Use HTTPStatus instead of HTTP_ consts and magic values in components/a* () 2021-10-22 14:21:34 +02:00
Erik Montnemery cdaba62d2c
Add test fixture for unauthenticated HTTP client ()
* Add test fixture for unauthenticated HTTP client

* Remove things from the future
2021-09-02 13:09:16 +02:00
Erik Montnemery 03bda6ed15
Enable basic type checking for almond ()
* Enable basic type checking for almond

* Tweak

* Address review comments
2021-08-23 09:35:03 +02:00
Ville Skyttä 19d25cd901
Change config entry state to an enum ()
* Change config entry state to an enum

* Allow but deprecate EntryState str equality comparison

* Test fixes

* Rename to ConfigEntryState

* Remove str comparability backcompat

* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
Ville Skyttä 153d6e891e
Use config_entries.SOURCE_* constants () 2021-04-25 11:27:40 +02:00
Franck Nijhof 65cf2fcb6f
Drop asynctest () 2021-01-01 22:31:56 +01:00
Paulus Schoutsen f9fa24950b
OAuth2 to use current request header () 2020-11-27 08:55:34 +01:00
Pigotka e1578e5389
Use of reference strings in Almond config flow () 2020-10-06 14:12:12 +02:00
Franck Nijhof 1c2ebdf307
Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00
Franck Nijhof 755761867d
Use current request context in OAuth redirect () 2020-08-15 15:26:54 +02:00
Franck Nijhof 3cc94f7d6a
ConfigFlow default discovery without unique ID () 2020-06-15 13:38:38 +02:00
Quentame 1855c91988
Use CONF_CLIENT_ID & CONF_CLIENT_SECRET from homeassistant.const ()
* Use CONF_CLIENT_ID & CONF_CLIENT_SECRET from homeassistant.const

* Fix pylint

* Use in tests

* Search for "client_id"

* Fix tests

* Fix test

* Fix test
2020-05-30 17:27:20 +02:00
Franck Nijhof e3e3a113e9
async_get_url -> get_url () 2020-05-08 21:53:28 +02:00
Franck Nijhof 2223592486
Add get_url helper, deprecate base_url () 2020-05-08 02:29:47 +02:00
Paulus Schoutsen 76f392476b
Use a future for mock coro () 2020-04-30 16:31:00 -07:00
Paulus Schoutsen ec47216388
Use built-in test helpers on 3.8 () 2020-04-30 13:29:50 -07:00
Paulus Schoutsen f975654ae7
Mock setup_entry in oauth2 tests ()
* Mock setup_entry in oauth2 tests

* Fix scaffold constant
2020-02-23 12:23:21 +01:00
Ville Skyttä 5216477353
Be consistent with Home Assistant and Hass.io spelling ()
* Be consistent with Home Assistant spelling

* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Bas Nijholt 790881fa7b Sort imports according to PEP8 for almond () 2019-12-09 11:27:16 +01:00
Paulus Schoutsen 5961215e6e
Set up Almond Web to connect to HA ()
* Set up Almond Web to connect to HA

* Add missing string

* Add type
2019-11-12 11:01:19 -08:00
Paulus Schoutsen 79ac77a93d
Almond integration ()
* Initial Almond integration

* Hassfest

* Update library

* Address comments

* Fix inheritance issue py36

* Remove no longer needed check

* Fix time
2019-10-28 23:47:31 -07:00