Commit Graph

10 Commits (57bd8a7a4a2416c92f5faf20700ae96ccc70a04a)

Author SHA1 Message Date
Mick Vleeshouwer 1cf2f0b944
Simplify coordinator and import OverkizStateType (#63969) 2022-01-13 02:23:20 +01:00
Marc Mueller fa7e787415
Update typing (3) [k-t] (#63924) 2022-01-11 21:26:55 +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 41c497ee6e
Add binary sensor entity to Overkiz integration (#62913) 2021-12-27 23:10:39 -10:00
Mick Vleeshouwer 0bcb0a6267
Add scene entity to Overkiz integration (#62884) 2021-12-27 13:57:19 -10:00
Mick Vleeshouwer cf6fb7bf39
Add light entity to Overkiz integration (#62835) 2021-12-27 12:35:59 +01:00
Mick Vleeshouwer c37077aa9b
Add number entity to Overkiz integration (#62732) 2021-12-24 10:29:51 -10:00
Mick Vleeshouwer fb04b19960
Add button entity to Overkiz integration (#62719) 2021-12-23 14:21:47 -10:00
Mick Vleeshouwer f722931920
Add lock entity to Overkiz integration (#62713) 2021-12-23 13:28:01 -10:00
Mick Vleeshouwer 3605c4f32f
Add Overkiz integration (with base + sensor entity) (#62640) 2021-12-23 08:34:35 -10:00