Commit Graph

4 Commits (4c952f09aca57352c339c0111c31a069ab2311fa)

Author SHA1 Message Date
Mick Vleeshouwer 3fcdaa8a5d
Don't close HA aiohttp session in Overkiz Config Flow (#64052) 2022-01-13 21:35:07 +01:00
Mick Vleeshouwer 1cf2f0b944
Simplify coordinator and import OverkizStateType (#63969) 2022-01-13 02:23:20 +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 3605c4f32f
Add Overkiz integration (with base + sensor entity) (#62640) 2021-12-23 08:34:35 -10:00