Franck Nijhof
ef800335fb
Enable Ruff PT022 ( #86792 )
...
* Enable Ruff PT022
* Adjust found cases
2023-01-27 13:57:06 +01:00
Aaron Bach
39b110b9b0
Renovate OpenUV config flow tests ( #85150 )
2023-01-06 10:51:46 +01:00
epenet
13c03d022b
Fix suggested values in openuv config flow ( #82479 )
...
* 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 ( #79691 )
2022-11-08 07:41:09 -07:00
Aaron Bach
4e8e53f357
Remove previously-deprecated OpenUV services ( #81055 )
2022-10-27 10:22:44 +02:00
Aaron Bach
60b3d6816b
Replace custom OpenUV data object with coordinators ( #80705 )
...
* Replace custom OpenUV data object with coordinators
* Typing
* Code review
2022-10-20 19:37:20 -06:00
Aaron Bach
1cf801afbc
Remove unnecessary session scoping to several test fixtures ( #80500 )
...
Co-authored-by: Joakim Plate <elupus@ecce.se>
2022-10-18 18:06:23 +02:00
Aaron Bach
2f6e55b3bb
Fix uncaught error in OpenUV diagnostics test ( #80116 )
2022-10-11 19:19:13 +03:00
Aaron Bach
4ea46bf841
Use `entry.as_dict()` in OpenUV diagnostics ( #80115 )
2022-10-11 19:17:03 +03:00
Aaron Bach
50911af835
Remove redundant OpenUV test fixture ( #79905 )
2022-10-08 15:05:45 -06:00
Aaron Bach
ca5a9c9456
Allow multiple instances of OpenUV via the `homeassistant.update_entity` service ( #76878 )
...
* Allow for multiple instances of the OpenUV integration
* Docstring
* Remove Repairs
* Fix tests
* Slightly faster OpenUV object lookup
* Entity update service
* Remove service descriptions
* hassfest
* Simplify strings
* Don't add UI instructions to Repairs item
* Add a throttle to entity update
* Update homeassistant/components/openuv/__init__.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Switch from Throttle to Debouncer(s)
* Keep dispatcher for services
* Reduce change surface area
* Duplicate method
* Add issue registry through helper
* Update deprecation version
* Use config entry selector
* Remove device/service info
* Remove commented out method
* Correct entity IDs and better verbiage
* Fix tests
* Handle missing config entry ID in service calls
* Remove unhelpful comment
* Remove unused constants
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-17 17:56:45 -06:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74642 )
2022-07-07 19:57:36 +03:00
epenet
053c4428a9
Prettify json (component test fixtures) ( #68892 )
2022-03-30 11:37:17 +02:00
Aaron Bach
8e5a74d9e9
Add diagnostics to OpenUV ( #64716 )
2022-01-22 16:38:38 -08:00
Aaron Bach
8badb1085c
Clean up OpenUV config flow tests ( #64715 )
...
* 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 ( #54562 )
2021-08-24 15:37:50 -05:00
Aaron Bach
54ace4cdd4
Enforce strict typing for OpenUV ( #53409 )
...
* Enforce strict typing for OpenUV
* Linting
* Fix tests
2021-07-24 14:50:01 +02:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Paulus Schoutsen
276f3afb00
Do async_setup_platform in background ( #36244 )
...
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 ( #36148 )
...
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" ( #29774 )
2019-12-09 14:26:53 +01:00
springstan
23fb364076
Move imports to top for openuv ( #29541 )
...
* 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 ( #19949 )
...
* 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 ( #17349 )
...
* 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 ( #16419 )
2018-09-04 21:18:35 +02:00
Aaron Bach
f96aee2832
Add config flow for OpenUV ( #16159 )
...
* 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