Commit Graph
62 Commits
Author SHA1 Message Date
Joost LekkerkerkerandGitHub b9281327c4 Use FlowResultType enum in config flow tests A-M (#114681) 2024-04-03 09:21:17 +02:00
Joost LekkerkerkerandGitHub 9b41e3d124 Use is in enum comparison in config flow tests A-E (#114669) 2024-04-02 11:22:05 -10:00
6bb4e7d62c Bump ruff to 0.3.4 (#112690)
Co-authored-by: Sid <[email protected]>
Co-authored-by: Marc Mueller <[email protected]>
Co-authored-by: J. Nick Koston <[email protected]>
2024-03-26 00:02:16 +01:00
Marc MuellerandGitHub 32f3f46542 Add empty line after module docstring (2) [tests.components] (#112737) 2024-03-08 19:16:21 +01:00
Marc MuellerandGitHub 38adfbf1a3 Add empty line after module docstring [tests a-e] (#112708) 2024-03-08 08:50:25 -05:00
J. Nick KostonandGitHub 0bbe46d236 Fix formatting of mac addresses from dhcp discovery mocking in airzone (#110559)
dhcp returns addresses in lowercase without :
2024-02-14 20:59:16 +01:00
Jan BouwhuisandGitHub c7eab49c70 Raise ServiceValidationError on invalid select option (#106350)
* Raise ServiceValidationError on invalid select option

* Fix tests

* Correct place holders

* More test fixes
2023-12-27 09:45:55 +01:00
Álvaro Fernández RojasandGitHub 3be12c0611 Fix Airzone temperature range on new climate card (#105830)
* airzone: climate: fix double setpoint

Signed-off-by: Álvaro Fernández Rojas <[email protected]>

* tests: airzone: fix double setpoint temperature

Signed-off-by: Álvaro Fernández Rojas <[email protected]>

* tests: airzone: fix swapped double setpoint

Signed-off-by: Álvaro Fernández Rojas <[email protected]>

---------

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
2023-12-16 18:42:58 +01:00
Álvaro Fernández RojasandGitHub a12c490cff Update aioairzone to v0.7.2 (#105811) 2023-12-15 14:59:43 -10:00
Erik MontnemeryandGitHub 6908497c3d Add minor version to config entries (#105479) 2023-12-12 08:44:35 +01:00
Franck NijhofandGitHub 04e0e2bd75 Update a* tests to use device & entity registry fixtures (#103711) 2023-11-09 20:46:20 +01:00
Álvaro Fernández RojasandGitHub 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 <[email protected]>

* tests: airzone: set_temp: check HVAC mode

Signed-off-by: Álvaro Fernández Rojas <[email protected]>

---------

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
2023-11-06 01:32:03 +01:00
Joost LekkerkerkerandGitHub 2601c6789d Add entity translations to Airzone (#99054) 2023-10-28 13:56:45 +02:00
Álvaro Fernández RojasandGitHub f78199df9f Fix Airzone climate double setpoint (#101744)
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
2023-10-10 10:18:52 +02:00
3238386f48 Add water heater support to Airzone (#98401)
Co-authored-by: J. Nick Koston <[email protected]>
2023-09-10 12:31:11 -05:00
a5dcc25aab Add snapshot assertion to Airzone (#98760)
Co-authored-by: Álvaro Fernández Rojas <[email protected]>
2023-08-30 17:11:55 +02:00
Álvaro Fernández RojasandGitHub 99b5c4932f Add hot water sensor support to Airzone (#98500)
* airzone: sensors: add hot water support

Signed-off-by: Álvaro Fernández Rojas <[email protected]>

* airzone: sensor: dhw: enable _attr_has_entity_name

Signed-off-by: Álvaro Fernández Rojas <[email protected]>

* Add requested changes

Signed-off-by: Álvaro Fernández Rojas <[email protected]>

---------

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
2023-08-22 22:48:05 +02:00
Álvaro Fernández RojasandGitHub c3c00e6984 Update aioairzone to v0.6.6 (#98399) 2023-08-14 11:21:12 -05:00
Álvaro Fernández RojasandGitHub 4981eadd31 Update aioairzone to v0.6.5 (#98163)
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
2023-08-10 16:47:16 +02:00
MeowandGitHub a4b2ded503 Refactor deprecated RESULT_TYPE_* (#97367) 2023-07-30 19:27:30 +02:00
Álvaro Fernández RojasandGitHub 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 <[email protected]>
2023-06-27 21:25:41 +02:00
Álvaro Fernández RojasandGitHub 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 RojasandGitHub 94ad9643b5 Update aioairzone to v0.6.1 (#93629) 2023-05-27 18:25:49 -05:00
Álvaro Fernández RojasandGitHub 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* tests: airzone: fix dict copy

Signed-off-by: Álvaro Fernández Rojas <[email protected]>

---------

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
2023-05-24 21:18:59 +02:00
Álvaro Fernández RojasandGitHub 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 <[email protected]>

* airzone: select: make options translatable

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

Signed-off-by: Álvaro Fernández Rojas <[email protected]>

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

Signed-off-by: Álvaro Fernández Rojas <[email protected]>

* tests: airzone: fix python 3.10 tests

Signed-off-by: Álvaro Fernández Rojas <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* airzone: select: use degree symbol

Signed-off-by: Álvaro Fernández Rojas <[email protected]>

---------

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
2023-05-24 08:21:24 +02:00
Álvaro Fernández RojasandGitHub 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 <[email protected]>

* trigger CI

---------

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
2023-05-23 11:23:32 +02:00
Álvaro Fernández RojasandGitHub e5c12122e2 Update aioairzone to v0.5.6 (#93146) 2023-05-16 12:51:22 +02:00
Álvaro Fernández RojasandGitHub 45e7283584 Add Airzone fan speed support (#92840) 2023-05-12 22:56:17 +09:00
Álvaro Fernández RojasandGitHub e9705364a8 Fix Airzone Auto operation mode (#92796) 2023-05-12 16:07:29 +09:00
epenetandGitHub 7b3a932cd9 Remove incorrect constant usage in test (#91198) 2023-04-11 10:00:17 +02:00
epenetandGitHub 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
epenetandGitHub 07a1a0efa9 Add type hints to integration tests (part 1) (#87777) 2023-02-09 16:09:13 +01:00
epenetandGitHub 7db166b515 Fix tests typing helper (#86956) 2023-01-31 08:48:35 +01:00
Erik MontnemeryandGitHub 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
146b43f8c5 Add Airzone Select platform support (#76415)
Co-authored-by: J. Nick Koston <[email protected]>
2023-01-05 11:03:36 -10:00
Álvaro Fernández RojasandGitHub 5d4591a3ec airzone: update aioairzone to v0.5.2 (#84690) 2022-12-28 16:37:50 +01:00
Álvaro Fernández RojasandGitHub f1ffb25d99 Add Airzone DHCP discovery support (#82339) 2022-11-23 12:32:23 -07:00
epenetandGitHub 0d696b84b2 Cleanup root component imports in tests (#78893) 2022-09-21 06:57:41 -10:00
epenetandGitHub 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 NijhofandGitHub 7cd68381f1 Search/replace RESULT_TYPE_* by FlowResultType enum (#74642) 2022-07-07 19:57:36 +03:00
Álvaro Fernández RojasandGitHub e8a8d35289 Add Sensors for Airzone WebServer (#69748) 2022-05-13 19:23:18 -05:00
Álvaro Fernández RojasandGitHub 88c2c5c36c Add Binary Sensors for Airzone Systems (#69736) 2022-05-09 09:07:11 -05:00
Álvaro Fernández RojasandGitHub 21cee3b1c4 airzone: improve diagnostics (#71488)
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
2022-05-07 23:13:12 +03:00
Álvaro Fernández RojasandGitHub 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 <[email protected]>

* airzone: switch to set_hvac_parameters function

Fixes failing airzone tests.

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
2022-05-05 10:06:23 +03:00
add7103d55 Use Airzone WebServer MAC address as unique ID (#70287)
Co-authored-by: J. Nick Koston <[email protected]>
2022-04-25 22:52:55 -10:00
epenetandGitHub 65af9cb1a0 Use climate enums in airzone (#70624) 2022-04-25 21:21:44 -10:00
Álvaro Fernández RojasandGitHub 8d71595f31 Improve and fix Airzone config flow (#70474) 2022-04-25 18:25:11 -10:00
0c2acdf337 Add Airzone diagnostics (#69362)
Co-authored-by: J. Nick Koston <[email protected]>
2022-04-22 22:28:07 -10:00
Álvaro Fernández RojasandGitHub 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 <[email protected]>

* airzone: use BinarySensorDeviceClass

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
2022-04-22 19:27:23 -10:00
Álvaro Fernández RojasandGitHub 5729209d5d Update aioairzone to v0.4.0 (#70280) 2022-04-19 17:03:13 +02:00