Add Blebox lights support (#35370)

* add BleBox lights support

* cherry pick refactoring from #35552

* Inherit from LightEntity instead of Light

Co-authored-by: J. Nick Koston <nick@koston.org>

* import LightEntity instead of Light

Co-authored-by: J. Nick Koston <nick@koston.org>

Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
gadgetmobileandJ. Nick Koston authored and GitHub committed 2020-05-17 18:54:32 -05:00
1 parent a03cb93f87
commit 902eb187ef
3 files changed
+696 -1

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ from .const import DEFAULT_SETUP_TIMEOUT, DOMAIN, PRODUCT
_LOGGER = logging.getLogger(__name__)
PLATFORMS = ["cover", "sensor", "switch", "air_quality"]
PLATFORMS = ["cover", "sensor", "switch", "air_quality", "light"]
PARALLEL_UPDATES = 0