Commit Graph
3 Commits
Author SHA1 Message Date
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 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
146b43f8c5 Add Airzone Select platform support (#76415)
Co-authored-by: J. Nick Koston <[email protected]>
2023-01-05 11:03:36 -10:00