Commit graph

30 commits

Author SHA1 Message Date
Nyro
73cd2636dd
Add Overkiz DomesticHotWaterProduction (#81538)
* 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
Nyro
1c0f9cf941
Add Overkiz Hitachi DHW (#81536)
* Port ha-tahome hitachi dhw

* Use int for setting temperature

* Use value as float when possible

* Use device state for current operation

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

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

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

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

* Use ON instead of ECO for standard operation mode

Co-authored-by: Quentame <polletquentin74@me.com>
2022-11-29 19:27:05 +01:00
Thibaut
55cad465b2
Add support for AEH with adjustable temperature in Overkiz integration (#72790)
* Import and clean from ha-tahoma

* Fix wrong search and replace

* Clean code

* Use elif

* Sort import

* Fix imports

* Update homeassistant/components/overkiz/climate_entities/atlantic_electrical_heater_with_adjustable_temperature_setpoint.py

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

* Fix import

* Remove cast

* Remove useless constructor

* Use constant

* Remove now useless conditions

Co-authored-by: Mick Vleeshouwer <mick@imick.nl>
2022-11-08 00:07:02 +01:00
Nyro
ddbfed354e
Add Overkiz AtlanticPassAPCDHW (#78665)
* Add Overkiz AtlanticPassAPCDHW

* Remove unnecessary line

* Improve atlantic pass_apcdhw for operation and target temprature

* Remove async_execute_commands

* Fix small code issues for Overkiz AtlanticPassAPCDHW

* Update homeassistant/components/overkiz/const.py

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

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

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

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

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

* Fix small issues

Co-authored-by: Mick Vleeshouwer <mick@imick.nl>
Co-authored-by: Quentame <polletquentin74@me.com>
2022-11-04 10:42:58 +01:00
Nyro
1a5eeb2db1
Add Overkiz AtlanticPassAPCHeatingAndCoolingZone (#78659)
* Add Overkiz AtlanticPassAPCHeatingAndCoolingZone

* Fix commands instanciations to be simpler

* Update AtlanticPassAPCHeatingAndCoolingZone to show temperature and fix HA threads

* Simplify async_execute_commands in order to receive simpler list

* Fix get and set temperature in derogation or auto mode

* Remove hvac_action from AtlanticPassAPCHeatingAndCoolingZone

* Remove unused lines

* Update async_execute_commands to work like async_execute_command
Implement cancel for multiple commands

* Improve to use preset_home for internal scheduling

* Remove async_execute_commands

* Improvement for AtlanticPassAPCHeatingAndCoolingZone

* Update homeassistant/components/overkiz/climate_entities/__init__.py

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

* Update homeassistant/components/overkiz/climate_entities/atlantic_pass_apc_heating_and_cooling_zone.py

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

* Update homeassistant/components/overkiz/climate_entities/atlantic_pass_apc_heating_and_cooling_zone.py

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

* Update homeassistant/components/overkiz/const.py

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

Co-authored-by: Quentame <polletquentin74@me.com>
2022-11-04 10:21:30 +01:00
Mick Vleeshouwer
6dcce61565
Add support for AtlanticHeatRecoveryVentilation to Overkiz integration (#74015) 2022-09-04 07:02:00 -05:00
Mick Vleeshouwer
a284ebe771
Add support for Atlantic Electrical Towel Dryer to Overkiz integration (#73788) 2022-06-28 13:39:37 -07:00
Thibaut
3571a80c8d
Add support for Somfy Thermostat in Overkiz integration (#67169)
* 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
Mick Vleeshouwer
04c60d2183
Add support for AtlanticPassAPCZoneControl to Overkiz integration (#72384)
* Add support for AtlanticPassAPCZoneControl (overkiz)

* Remove unneeded comments

* Remove supported features

* Fix new standards
2022-06-14 13:27:58 +02:00
Mick Vleeshouwer
2c82befc78
Enable select platform in Overkiz integration (#68995) 2022-04-01 16:28:29 +02:00
Mick Vleeshouwer
d0e5e51863
Add alarm control panel to Overkiz integration (#67164) 2022-03-28 15:19:16 -07:00
Mick Vleeshouwer
2a697bdf41
Add support for Atlantic Electrical Heater in Overkiz integration (#67045)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-02-23 19:15:04 +01:00
Mick Vleeshouwer
d7fcda01b8
Add siren platform to Overkiz (#65300) 2022-02-09 17:36:56 -06:00
Mick Vleeshouwer
199c8fef40
Fix MyFox Camera Shutter entity in Overkiz integration (#66088) 2022-02-08 17:49:38 +01:00
Mick Vleeshouwer
b6ad79e2b8
Update PyOverkiz to 1.3.4 (#66076) 2022-02-08 16:11:05 +01:00
Mick Vleeshouwer
dcab9a19d6
Remove Overkiz switch platform todo and add 2 devices (#66069) 2022-02-08 14:05:35 +02:00
Mick Vleeshouwer
d6c547e9a3
Add cover platform to Overkiz integration (#64564) 2022-01-24 07:58:52 -10:00
Mick Vleeshouwer
24e24a5157
Move logger to constants (#64431) 2022-01-19 17:19:49 +02:00
Mick Vleeshouwer
b9cfaae3de
Refactor some sensors and add translations to Overkiz (#64108) 2022-01-17 10:47:42 -10:00
Mick Vleeshouwer
313ad2ecde
Add switch entity to Overkiz integration (#64000) 2022-01-17 08:21:37 -10:00
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