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
This commit is contained in:
Aaron Bach authored and Fabian Affolter committed 2019-01-14 13:12:06 +01:00
1 parent fff3cb0b46
commit ef79566864
5 files changed
+60 -71

No files matched your search

-4
View File
@@ -1,6 +1,2 @@
"""Define constants for the OpenUV component."""
from datetime import timedelta
DOMAIN = 'openuv'
DEFAULT_SCAN_INTERVAL = timedelta(minutes=30)