Commit Graph

17 Commits (61f8af8b58acc0992b97c27b1506663f141c3cf9)

Author SHA1 Message Date
Marc Mueller f57d42a9e8
Use platform enum (1) [A-D] ()
* 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 () 2021-10-23 11:41:32 +02:00
Tomasz e9f6bc7364
Add missing return type to async_unload_entry and async_setup_entry () 2021-10-06 10:48:11 +02:00
Robert Hillis 9b2107b71f
Use entity class attributes for Blebox ()
* 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 () 2021-05-27 17:39:06 +02:00
J. Nick Koston 51be2f860a
Reduce boilerplate to setup config entry platforms A-C ()
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 () 2021-03-29 13:22:33 -10:00
Quentame 198ecb0945
Uniformize platform setup ()
* 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 ()
* support BleBox climate

* refactor entity async_setup_entry functions

* use constants and simplify hvac mode setting

* apply fixes from review requests in 

* remove unneeded const mappings
2020-05-25 14:45:01 -05:00
gadgetmobile 93fddbed2b
Fix review requests for BleBox support from ()
* fix review requests from 

* fix pylint W0621 (redefined-outer-name)
2020-05-18 22:30:15 +02:00
gadgetmobile 902eb187ef
Add Blebox lights support ()
* add BleBox lights support

* cherry pick refactoring from 

* 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 ()
* support BleBox air-quality

* fixed switch tests via cherry-pick from 

* fix test after cherry-picking

* fix flake8 issues
2020-05-16 10:51:37 -05:00
gadgetmobile 890013cecf
Add Blebox switch support ()
* 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 () 2020-05-12 09:10:03 -05:00
gadgetmobile 9e3a8899c8
Increase coverage and cleanup BleBox cover ()
* 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 () 2020-05-09 00:10:17 +02:00
gadgetmobile 8e071b69f4
Add BleBox integration ()
Co-Authored-By: J. Nick Koston <nick@koston.org>
2020-05-05 11:29:58 +02:00