Commit Graph

45 Commits (d6a7127b845e420280971082cbdb655d64ed1c76)

Author SHA1 Message Date
Álvaro Fernández Rojas c3c00e6984
Update aioairzone to v0.6.6 (#98399) 2023-08-14 11:21:12 -05:00
Álvaro Fernández Rojas 4981eadd31
Update aioairzone to v0.6.5 (#98163)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-08-10 16:47:16 +02:00
Meow a4b2ded503
Refactor deprecated RESULT_TYPE_* (#97367) 2023-07-30 19:27:30 +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 6019ec305a
Update aioairzone to v0.6.3 and fix issue with latest firmware update (#94100) 2023-06-06 08:23:48 +02:00
Álvaro Fernández Rojas 94ad9643b5
Update aioairzone to v0.6.1 (#93629) 2023-05-27 18:25:49 -05: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 a29adc0a6a
Airzone select improvements (#92894)
* airzone: select: remove unneed .keys()

Fixes late comment when select platform was introduced.

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

* airzone: select: make options translatable

This was a late comment when the select platform was introduced.

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

* airzone: select: change options to lists (from enums)

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

* tests: airzone: fix python 3.10 tests

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

* airzone: select: add manual dict values

This was requested in order to keep control of the translation strings.

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

* Revert "airzone: select: add manual dict values"

This reverts commit b818a2674d.

* Revert "tests: airzone: fix python 3.10 tests"

This reverts commit 93f8bd1430.

* Revert "airzone: select: change options to lists (from enums)"

This reverts commit e503a1dd3a.

* airzone: select: options: copy dict to list

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

* airzone: select: use degree symbol

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

---------

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-05-24 08:21:24 +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 e5c12122e2
Update aioairzone to v0.5.6 (#93146) 2023-05-16 12:51:22 +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
epenet 7b3a932cd9
Remove incorrect constant usage in test (#91198) 2023-04-11 10:00:17 +02:00
epenet 69a46d4002
Adjust pylint plugin for components fixtures (#90217)
* Adjust pylint plugin for components fixtures

* Adjust components

* Use MagicMock

* Adjust

* Use None
2023-03-26 15:21:19 +02:00
epenet 07a1a0efa9
Add type hints to integration tests (part 1) (#87777) 2023-02-09 16:09:13 +01:00
epenet 7db166b515
Fix tests typing helper (#86956) 2023-01-31 08:48:35 +01:00
Erik Montnemery 086a6460ef
Allow customizing sensor state precision (#86074)
* Allow customizing sensor precision

* Don't convert integer strings to floats

* Tweak converting sensor state to number

* Drop default rounding to 2 decimals

* Adjust test

* Tweak rounding, improve test coverage

* Don't convert to a number if not necessary

* Raise if native_precision is set and state is not numeric

* Address review comments

* Address comments, simplify

* Don't call  property twice

* Make exception more helpful
2023-01-25 08:55:46 +01: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
Álvaro Fernández Rojas 5d4591a3ec
airzone: update aioairzone to v0.5.2 (#84690) 2022-12-28 16:37:50 +01:00
Álvaro Fernández Rojas f1ffb25d99
Add Airzone DHCP discovery support (#82339) 2022-11-23 12:32:23 -07:00
epenet 0d696b84b2
Cleanup root component imports in tests (#78893) 2022-09-21 06:57:41 -10:00
epenet 7bc2712142
Adjust root-import in tests (#78761)
* Adjust root-import in tests

* Adjust diagnostics

* Adjust button

* Adjust select

* Adjust device_tracker

* Adjust camera

* Adjust humidifier

* Adjust media_source

* Adjust update

* Adjust siren

* Adjust number

* Adjust alarm_control_panel

* Adjust notify

* Adjust sensor

* Adjust switch

* Revert anthemav

* Don't adjust demo humidifier
2022-09-19 15:22:23 +02:00
Franck Nijhof 7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum (#74642) 2022-07-07 19:57:36 +03:00
Álvaro Fernández Rojas e8a8d35289
Add Sensors for Airzone WebServer (#69748) 2022-05-13 19:23:18 -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 21cee3b1c4
airzone: improve diagnostics (#71488)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-07 23:13:12 +03: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 8d71595f31
Improve and fix Airzone config flow (#70474) 2022-04-25 18:25:11 -10:00
Álvaro Fernández Rojas 0c2acdf337
Add Airzone diagnostics (#69362)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-22 22:28:07 -10:00
Álvaro Fernández Rojas a29265e725
Add Airzone Low Battery Binary Sensor (#69022)
* airzone: binary_sensor: add Low Battery

This binary sensor is only applicable for Radio Thermostats.

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

* airzone: use BinarySensorDeviceClass

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-04-22 19:27:23 -10:00
Álvaro Fernández Rojas 5729209d5d
Update aioairzone to v0.4.0 (#70280) 2022-04-19 17:03:13 +02: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 459d775ad5
Update aioairzone to v0.3.8 (#70060) 2022-04-14 10:59:14 -10:00
Álvaro Fernández Rojas c76b21e24e
Support specifying Airzone System ID (#69751) 2022-04-13 19:12:21 +02:00
Álvaro Fernández Rojas aa969d5ae8
Add missing typing to Airzone tests (#69097) 2022-04-02 10:01:49 +02:00
Álvaro Fernández Rojas 86bec82c24
Update aioairzone to v0.3.1 (#68975) 2022-03-31 19:58:56 +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 67d3e84448
Locally patch AirzoneLocalApi in tests (#68770) 2022-03-28 10:51:59 +02:00
Álvaro Fernández Rojas 42a5e2d4fe
Add Airzone binary sensor platform (#68140)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-27 10:39:46 -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
Álvaro Fernández Rojas f1f48475f2
Add Airzone coordinator tests (#68384) 2022-03-19 11:34:52 -10:00
Álvaro Fernández Rojas 542c3cbf90
Address late Airzone PR comments and fix Fahrenheit temperatures (#67904)
* airzone: address late PR comments

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

* airzone: fix fahrenheit temperatures

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

* airzone: add changes suggested by @MartinHjelmare

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-03-09 20:51:39 +01:00
Álvaro Fernández Rojas 8549e31b27
Add Airzone HVAC Zoning Systems (#67666) 2022-03-08 22:28:39 +01:00