Marc Mueller
f57d42a9e8
Use platform enum (1) [A-D] ( #60908 )
...
* Use platform enum (1) [A-D]
* Fix imports
* Fix tests
* Use Platform even in tests
2021-12-03 08:51:30 -08:00
Robert Hillis
137d41d8b4
Use DeviceInfo Class B-C ( #58217 )
2021-10-23 11:41:32 +02:00
Tomasz
e9f6bc7364
Add missing return type to async_unload_entry and async_setup_entry ( #57115 )
2021-10-06 10:48:11 +02:00
Robert Hillis
9b2107b71f
Use entity class attributes for Blebox ( #52890 )
...
* Use entity class attributes for blebox
* rework
* Apply suggestions from code review
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-12 22:52:38 +02:00
tkdrob
d1c4d0de49
Use bool annotations for setup entries ( #51166 )
2021-05-27 17:39:06 +02:00
J. Nick Koston
51be2f860a
Reduce boilerplate to setup config entry platforms A-C ( #49681 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-26 07:46:55 -10:00
Franck Nijhof
8393a215e9
Clean up superfluous integration setup - part 1 ( #48476 )
2021-03-29 13:22:33 -10:00
Quentame
198ecb0945
Uniformize platform setup ( #47101 )
...
* A platform is not a component
* Fix dynalite
* SUPPORTED_PLATFORMS --> PLATFORMS
* In tests
* In tests 2
* Fix SmartThings
* Fix ZHA test
* Fix Z-Wave
* Revert Z-Wave
* Use PLATFORMS const in ambient_station
* Fix ihc comment
2021-03-02 21:43:59 +01:00
gadgetmobile
a22a86e4d2
Add Blebox climate support ( #35373 )
...
* support BleBox climate
* refactor entity async_setup_entry functions
* use constants and simplify hvac mode setting
* apply fixes from review requests in #35370
* remove unneeded const mappings
2020-05-25 14:45:01 -05:00
gadgetmobile
93fddbed2b
Fix review requests for BleBox support from #35370 ( #35786 )
...
* fix review requests from #35370
* fix pylint W0621 (redefined-outer-name)
2020-05-18 22:30:15 +02:00
gadgetmobile
902eb187ef
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>
2020-05-17 18:54:32 -05:00
gadgetmobile
6e0359efa6
Add Blebox air quality support ( #35372 )
...
* support BleBox air-quality
* fixed switch tests via cherry-pick from #35552
* fix test after cherry-picking
* fix flake8 issues
2020-05-16 10:51:37 -05:00
gadgetmobile
890013cecf
Add Blebox switch support ( #35371 )
...
* support BleBox switches
* fix tox py37 test failures
* refactor BleBox device class map
2020-05-15 16:48:17 -05:00
gadgetmobile
53771bd576
support BleBox sensor ( #35374 )
2020-05-12 09:10:03 -05:00
gadgetmobile
9e3a8899c8
Increase coverage and cleanup BleBox cover ( #35369 )
...
* increase coverage and cleanup BleBox cover
* test entity properites via the `state` property
* properly test entity properities
* properly mock io call
2020-05-10 12:22:26 +02:00
Franck Nijhof
4cf186a47e
Small collection of random styling tweaks, fixes and Pythonism ( #35390 )
2020-05-09 00:10:17 +02:00
gadgetmobile
8e071b69f4
Add BleBox integration ( #32664 )
...
Co-Authored-By: J. Nick Koston <nick@koston.org>
2020-05-05 11:29:58 +02:00