Commit Graph

28 Commits

Author SHA1 Message Date
Joost Lekkerkerker
4766f48f47 Migrate Airzone to runtime_data (#119494) 2024-06-12 17:44:03 +02:00
Marc Mueller
ff3a801936 Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
G Johansson
5c3707ec9c Add new climate feature flags to airzone (#109423) 2024-02-03 04:02:19 +01:00
Álvaro Fernández Rojas
3be12c0611 Fix Airzone temperature range on new climate card (#105830)
* airzone: climate: fix double setpoint

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* tests: airzone: fix double setpoint temperature

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* tests: airzone: fix swapped double setpoint

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

---------

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-12-16 18:42:58 +01:00
Álvaro Fernández Rojas
77baea8cb7 Allow setting HVAC mode through set_temperature service in Airzone integration (#103185)
* airzone: climate: set_temperature: support ATTR_HVAC_MODE

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* tests: airzone: set_temp: check HVAC mode

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

---------

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-11-06 01:32:03 +01:00
Álvaro Fernández Rojas
ba7dbc5927 Show proper name on Airzone errors (#102997)
* airzone: fix showing None on errors

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* airzone: use entity_id on erros/logs

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

---------

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-10-30 11:03:34 +01:00
Joost Lekkerkerker
2601c6789d Add entity translations to Airzone (#99054) 2023-10-28 13:56:45 +02:00
Álvaro Fernández Rojas
f78199df9f Fix Airzone climate double setpoint (#101744)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-10-10 10:18:52 +02:00
Álvaro Fernández Rojas
78380c0cd4 Allow turning Airzone slave zones on with any HVAC mode (#94721)
airzone: climate: allow turning slave zone on with any hvac mode

If the user selects a different mode on a slave zone from the one selected on
the master zone, it will raise an exception and it won't change the operation
mode or turn it on.
Change this behaviour so that the exception will still be raised but the slave
zone will be turned on and the hvac mode won't be changed.
This allows commanding airzone slave zones from limited APIs like homekit.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-06-27 21:25:41 +02:00
Álvaro Fernández Rojas
f5a235beee Fix Airzone min/max climate temperatures (#93161)
* airzone: climate: fix max/min temps

The library now provides AZD_ABS_TEMP_MAX/AZD_ABS_TEMP_MIN which are useful for
devices with different max/min temperatures depending on the current working
mode (HEAT vs COOL).
These new values will have the highest/lowest max/min of both modes.
Until now, the max/min of the current working mode (HEAT/COOL) would be set
when starting Home Assistant, limiting the temperature range if the device
mode was changed after that.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* airzone: climate: update max/min temps

Some devices have different max/min climate temps depending on the active
mode (HEAT vs COOL), so we should update these values.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* Revert "airzone: climate: update max/min temps"

This reverts commit 988194d486.

* Revert "Revert "airzone: climate: update max/min temps""

This reverts commit e4ead24f71.

* tests: airzone: add max/min climate changes test

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* tests: airzone: fix dict copy

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

---------

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-05-24 21:18:59 +02:00
Álvaro Fernández Rojas
7e1a946705 Support Airzone temperature ranges (HEAT_COOL) (#93110)
* airzone: climate: add Temperature range support

This is useful for HEAT_COOL climate mode (Airzone AUTO).

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* trigger CI

---------

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-05-23 11:23:32 +02:00
Álvaro Fernández Rojas
45e7283584 Add Airzone fan speed support (#92840) 2023-05-12 22:56:17 +09:00
Álvaro Fernández Rojas
e9705364a8 Fix Airzone Auto operation mode (#92796) 2023-05-12 16:07:29 +09:00
Álvaro Fernández Rojas
146b43f8c5 Add Airzone Select platform support (#76415)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-05 11:03:36 -10:00
epenet
f14bb8195f Import climate constants from root [a-l] (#78021) 2022-09-08 11:24:15 +02:00
Álvaro Fernández Rojas
46becd4023 Address late Airzone strict typing comments (#71627)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-10 10:00:38 +02:00
Álvaro Fernández Rojas
b9b83c05e9 Add Airzone to strict typing (#71604) 2022-05-09 12:56:59 -05:00
Álvaro Fernández Rojas
88c2c5c36c Add Binary Sensors for Airzone Systems (#69736) 2022-05-09 09:07:11 -05:00
Álvaro Fernández Rojas
6a35c3f2ab Update aioairzone to v0.4.3 (#71312)
* Update aioairzone to v0.4.3

Fixes exception on older local API.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* airzone: switch to set_hvac_parameters function

Fixes failing airzone tests.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-05 10:06:23 +03:00
Álvaro Fernández Rojas
add7103d55 Use Airzone WebServer MAC address as unique ID (#70287)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-25 22:52:55 -10:00
epenet
65af9cb1a0 Use climate enums in airzone (#70624) 2022-04-25 21:21:44 -10:00
Álvaro Fernández Rojas
6dc44863c4 Split and refactor AirzoneEntity (#70421) 2022-04-22 19:20:14 -10:00
Álvaro Fernández Rojas
4a950f06e2 airzone: climate: move id params to _async_update_hvac_params (#70099)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-04-15 20:06:47 +03:00
Álvaro Fernández Rojas
abea7d3245 airzone: implement turn on/off (#70095)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-04-15 16:13:59 +03:00
Álvaro Fernández Rojas
39abf1453c Switch Airzone to ClimateEntityFeature (#69136) 2022-04-03 22:11:24 +02:00
Álvaro Fernández Rojas
0cb8ff9bc6 Fix HVAC modes for Airzone slave zones (#68851) 2022-03-30 13:32:15 +02:00
Álvaro Fernández Rojas
fefd6a1d1a Update aioairzone to v0.2.1 (#68798)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-28 13:05:47 -10:00
Álvaro Fernández Rojas
b5401ccc4a Add Airzone climate platform (#67924)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-27 08:59:15 -10:00