Commit graph

8 commits

Author SHA1 Message Date
Erik Montnemery
9f43fca586
Fix color mode in overkiz light (#70966) 2022-04-28 09:36:53 +02:00
epenet
c0d8f94487
Adjust ColorMode type hint in light (#70806)
* Adjust ColorMode type hint in light

* Adjust components
2022-04-27 16:02:23 +02:00
epenet
4a276d90b0
Use ColorMode enum in overkiz (#70528) 2022-04-23 09:25:47 -10:00
Thibaut
65fb6f26f1
Check explicitly for None value in Overkiz integration (#65045) 2022-01-28 10:58:42 +01:00
Mick Vleeshouwer
b4187540c0
Improve typing for Overkiz integration and address late feedback (#63483)
* Bump pyoverkiz to 1.0.2

* Remove cast for str enum.

* Address feedback on coordinator

* Change datatype to Callable

* Address feedback

* Move scenarios to seperate list

* Cast Device to avoid issues with DataUpdateCoordinator default

* Remove unnecessary casts and improve type notation

* Check if state.value exists

* Fix last mypy error (thanks @epenet)

* Remove extra string cast

* Improve sensor typing

* Update pyoverkiz and remove typing

* Small code improvement

* Fix assert to reflect real world

* Properly type Callable to not return Any

* Remove unnecessary cast

* Add OverkizStateType

* Bugfix

* Address feedback - multiline lambda

* Pylint fix

* Remove added binary sensor
2022-01-08 10:53:15 +01:00
Mick Vleeshouwer
4eb077b6b4
Enable strict typing for Overkiz integration (#63108) 2021-12-31 07:35:15 -10:00
Mick Vleeshouwer
8599ddf51e
Address feedback to Overkiz integration (round 2) (#63036)
* Address feedback in multiple files

* Add missing return statement

* Improve sensor descriptions

* Improve typing

* Move to new device registry

* Disable RSSI sensor by default

* Improve typing
2021-12-30 15:22:35 +01:00
Mick Vleeshouwer
cf6fb7bf39
Add light entity to Overkiz integration (#62835) 2021-12-27 12:35:59 +01:00