Commit Graph

13 Commits (83f6e168e5a467c1cbed6bb416d6b707f25334a4)

Author SHA1 Message Date
Nyro 73cd2636dd
Add Overkiz DomesticHotWaterProduction ()
* Port DomesticHotWaterProduction from HA-Tahoma

* Add new domestic hot water controllable_name

* Update DHWP to detect existing commands instead of devices

* Update homeassistant/components/overkiz/water_heater_entities/domestic_hot_water_production.py

Co-authored-by: Quentame <polletquentin74@me.com>

* Update homeassistant/components/overkiz/water_heater_entities/domestic_hot_water_production.py

Co-authored-by: Quentame <polletquentin74@me.com>

* Improve read states and comment for overkiz DHWP

* Remove DHWP_BOOST_MODES

* Update DHWP to handle more device correctly

* Improve current_temperature for bogus device

* Init overkiz_to_operation_mode for DHWP

* Update command to be correct

* Upgrade pyoverkiz and use new constants for DHWP

* Remove .tow/.package.lock

Co-authored-by: Quentame <polletquentin74@me.com>
2022-11-29 23:08:13 +01:00
Thibaut 3571a80c8d
Add support for Somfy Thermostat in Overkiz integration ()
* Add Somfy Thermostat

* Fix linked device

Co-authored-by: Vincent Le Bourlot <vlebourl@gmail.com>

* Mark Somfy thermostat as supported

* Fix wrong usage of cast

* Update presets to lowercase

* Rename constants

* Remove _saved_target_temp

* Apply black

* Clean code

* Fix mypy errors

* Use constants from pyoverkiz

* Use enum for target temp

* Add comment

* Use ClimateEntityFeature

* Ease code

Co-authored-by: Mick Vleeshouwer <mick@imick.nl>

* Remove unused imports

* Use HVACAction

* Use HVACMode

* Use more Overkiz constants

* Don’t copy/paste

* Don’t use magic number

Co-authored-by: Vincent Le Bourlot <vlebourl@gmail.com>
Co-authored-by: Mick Vleeshouwer <mick@imick.nl>
2022-06-20 12:58:08 +02:00
Thibaut 80d332ddf1
Don’t send None value within Command parameter value in Overkiz integration () 2022-05-13 12:36:08 +02:00
J. Nick Koston 853b57e7cf
Suppress mypy checks for incorrect typing in overkiz () 2022-04-26 20:04:32 +02:00
Mick Vleeshouwer cb070f3138
Fix RTS device delays in Overkiz integration () 2022-02-23 10:46:08 -08:00
Mick Vleeshouwer 30c9b8ee56
Improve code quality for Overkiz integration () 2022-02-22 08:32:23 -10:00
Mick Vleeshouwer d6c547e9a3
Add cover platform to Overkiz integration () 2022-01-24 07:58:52 -10:00
Mick Vleeshouwer 24e24a5157
Move logger to constants () 2022-01-19 17:19:49 +02:00
Mick Vleeshouwer 1cf2f0b944
Simplify coordinator and import OverkizStateType () 2022-01-13 02:23:20 +01:00
Mick Vleeshouwer b4187540c0
Improve typing for Overkiz integration and address late feedback ()
* 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 () 2021-12-31 07:35:15 -10:00
Mick Vleeshouwer 8599ddf51e
Address feedback to Overkiz integration (round 2) ()
* 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 3605c4f32f
Add Overkiz integration (with base + sensor entity) () 2021-12-23 08:34:35 -10:00