1
0
mirror of https://github.com/home-assistant/core.git synced 2025-08-11 14:29:58 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
Joost Lekkerkerker
5d500cb74b Use is in enum comparison in config flow tests K-O () 2024-04-02 11:21:42 -10:00
Marc Mueller
1722e23df8 Add empty line after module docstring [tests l-p] () 2024-03-08 14:55:15 +01:00
epenet
dac3c7179f Add missing async_setup_entry mock in openuv () 2023-02-23 10:22:39 -05:00
epenet
88444b2e0c Add type hints to integration tests (part 16) () 2023-02-15 10:50:02 +01:00
Aaron Bach
39b110b9b0 Renovate OpenUV config flow tests () 2023-01-06 10:51:46 +01:00
epenet
13c03d022b Fix suggested values in openuv config flow ()
* Fix suggested values in openuv config flow

* Don't use new helper
2022-11-21 17:12:28 +01:00
Aaron Bach
45be2a260e Add re-auth flow for OpenUV () 2022-11-08 07:41:09 -07:00
Franck Nijhof
7cd68381f1 Search/replace RESULT_TYPE_* by FlowResultType enum () 2022-07-07 19:57:36 +03:00
Aaron Bach
8badb1085c Clean up OpenUV config flow tests ()
* Clean up OpenUV config flow tests

* Code review
2022-01-22 16:52:25 -07:00
Aaron Bach
24d017f974 Add ability to configure OpenUV "protection window" UV indices () 2021-08-24 15:37:50 -05:00
Aaron Bach
54ace4cdd4 Enforce strict typing for OpenUV ()
* Enforce strict typing for OpenUV

* Linting

* Fix tests
2021-07-24 14:50:01 +02:00
Franck Nijhof
65cf2fcb6f Drop asynctest () 2021-01-01 22:31:56 +01:00
Franck Nijhof
1c2ebdf307 Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00
Paulus Schoutsen
276f3afb00 Do async_setup_platform in background ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-05-31 22:18:30 -07:00
Aaron Bach
c18ba6aec0 Remove configuration.yaml support for OpenUV ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-05-27 15:48:28 -07:00
Bas Nijholt
5cdaff5405 Sort imports according to PEP8 for components starting with "O" () 2019-12-09 14:26:53 +01:00
springstan
23fb364076 Move imports to top for openuv ()
* Move imports to top for openuv

* Renamed mock_pyopenuv_ to MockClient in test_config_flow
2019-12-06 14:13:43 -07:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Aaron Bach
ef79566864 Adjust OpenUV integration for upcoming API limit changes ()
* Adjust OpenUV integration for upcoming API limit changes

* Added fix for "Invalid API Key"

* Bugfix

* Add initial nighttime check

* Move from polling to a service-based model

* Fixed test

* Removed unnecessary scan interval

* Fixed test

* Moving test imports

* Member comments

* Hound

* Removed unused import
2019-01-14 13:12:06 +01:00
Aaron Bach
29c2b2fe79 Clean up OpenUV config flow ()
* Cleaned up OpenUV config flow

* Added proper listener removal

* Added proper exception

* Unnecessary exception message

* Moved API key error to correct place

* Member-requested changes (part 1)

* Hound

* Member-requested changes (part 2)

* Cleanup

* Fixed tests
2018-10-15 13:21:21 -06:00
Jason Hu
3afc983c05 Fix openuv.config_flow unit test () 2018-09-04 21:18:35 +02:00
Aaron Bach
f96aee2832 Add config flow for OpenUV ()
* OpenUV config flow in place

* Test folder in place

* Owner-requested comments

* Tests

* More tests

* Owner-requested changes (part 1 of 2)

* Updated requirements

* Owner-requested changes (2 of 2)

* Removed unnecessary import

* Bumping Travis

* Updated requirements

* More requirements

* Updated tests

* Owner-requested changes

* Hound

* Updated docstring
2018-09-04 09:22:44 +02:00