Commit Graph
25 Commits
Author SHA1 Message Date
Marc MuellerandGitHub 301c484e05 Fix vallow test fixtures (#118003) 2024-05-24 08:31:21 +02:00
J. Nick KostonandGitHub 5a609c34bb Fix blocking I/O in the event loop when loading timezones (#117721) 2024-05-20 11:06:03 +02:00
Joost LekkerkerkerandGitHub 2ef0521d3d Use is in enum comparison in config flow tests U-Z (#114677)
* Use right enum expression U-Z

* Fix
2024-04-02 23:09:56 +02: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 87165c0d6e Add empty line after module docstring [tests t-z] (#112712) 2024-03-08 14:44:56 +01:00
Jevgeni KiskiandGitHub ce3d774222 Add Vallox filter replacement date (#111391)
* Vallox: reset filter button

* Better names

* Change from button to date platform

* Review

* Fix

* Drop ValloxDateEntityDescription

* Stale docstrings

* Stale docstring
2024-03-01 10:02:50 +01:00
2250baab21 Update vallox_websocket_api to 5.0.2 (#110752)
Co-authored-by: Sebastian Lövdahl <[email protected]>
2024-02-19 14:36:51 +01:00
953a212dd6 Use ServiceValidationError for invalid fan preset_mode and move check to fan entity component (#104560)
* Use ServiceValidationError for fan preset_mode

* Use _valid_preset_mode_or_raise to raise

* Move preset_mode validation to entity component

* Fix bond fan and comments

* Fixes baf, fjaraskupan and template

* More integration adjustments

* Add custom components mock and test code

* Make NotValidPresetModeError subclass

* Update homeassistant/components/fan/strings.json

Co-authored-by: Martin Hjelmare <[email protected]>

* Keep bond has_action validation

* Move demo test asserts outside context block

* Follow up comment

* Update homeassistant/components/fan/strings.json

Co-authored-by: G Johansson <[email protected]>

* Fix demo tests

* Remove pylint disable

* Remove unreachable code

* Update homeassistant/components/fan/__init__.py

Co-authored-by: G Johansson <[email protected]>

* Use NotValidPresetModeError, Final methods

* Address comments

* Correct docst

* Follow up comments

* Update homeassistant/components/fan/__init__.py

Co-authored-by: Erik Montnemery <[email protected]>

---------

Co-authored-by: Martin Hjelmare <[email protected]>
Co-authored-by: G Johansson <[email protected]>
Co-authored-by: Erik Montnemery <[email protected]>
2023-11-29 13:56:51 +01:00
Sebastian LövdahlandGitHub c04db6a249 Bump vallox_websocket_api to 4.0.2 (#103339) 2023-11-04 14:55:50 -05:00
Ville SkyttäandGitHub 1ce74ba25c Import util.dt as dt_util in components/[t-z]* (#93763) 2023-05-29 23:00:43 +02:00
e680ec6247 Remove deprecated Vallox YAML configuration (#91096)
Co-authored-by: G Johansson <[email protected]>
2023-05-06 10:23:14 +02:00
epenetandGitHub aa50096a31 Add type hints to integration tests (part 24) (#88307) 2023-02-17 16:34:53 +01:00
Franck NijhofandGitHub ed79265843 Enable Ruff PT006 (#88165)
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
d62bdbb9ff Add vallox fan speed control (#82548)
* fan.set_percentage + tests

* let's see what is not yet covered

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <[email protected]>

* tests fix

* vallox_websocket_api 3.0.0

* more coverage

* test coverage

* Update tests/components/vallox/test_fan.py

Co-authored-by: Martin Hjelmare <[email protected]>

* raise exceptions on user input

* Supported features are different per preset mode.

* Test fixes

* Static supported features is back.

Co-authored-by: Martin Hjelmare <[email protected]>
2022-12-06 11:00:59 +01:00
157222126e Add Vallox temperature control entities (#75858)
Co-authored-by: Sebastian Lövdahl <[email protected]>
Co-authored-by: Andre Richter <[email protected]>
Co-authored-by: Martin Hjelmare <[email protected]>
2022-11-22 12:46:57 +01:00
5453b346dd Add Vallox bypass locking switch entity (#75857)
* Switch entity

* adding missing function for tests

* Apply suggestions from code review

Co-authored-by: Sebastian Lövdahl <[email protected]>

* Review

* fix

* Update homeassistant/components/vallox/switch.py

Co-authored-by: Andre Richter <[email protected]>

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <[email protected]>

* Adding a separate parameter for the expected state

Co-authored-by: Sebastian Lövdahl <[email protected]>
Co-authored-by: Andre Richter <[email protected]>
Co-authored-by: Martin Hjelmare <[email protected]>
2022-11-18 10:16:54 +01:00
Jevgeni KiskiandGitHub f95b8ccc20 Improve vallox tests and code quality (#75787)
code quality improvements
2022-10-01 21:13:15 -07:00
Franck NijhofandGitHub a6244eea28 Search/replace RESULT_TYPE_* by FlowResultType enum (#74656) 2022-07-07 21:28:18 +02:00
3a00c95113 Add device_info and entity_category to Vallox (#67353)
* Add device_info and entity_category to Vallox

* Fix DeviceInfo

* Address review comments 1

* vallox suggested changes

Co-authored-by: Sebastian Lövdahl <[email protected]>
Co-authored-by: J. Nick Koston <[email protected]>
2022-05-09 17:00:31 -05:00
Sebastian LövdahlandGitHub ced68c1b80 Add Vallox cell state sensor tests (#67069) 2022-03-29 17:07:09 -10:00
cf4033b1bc Simplify time zone setting in tests (#68330)
* Simplify timezone setting in tests

* Fix typo

* Adjust caldav tests

* Adjust input_datetime tests

* Adjust time_date tests

* Adjust tod tests

* Adjust helper tests

* Adjust recorder tests

* Adjust risco tests

* Adjust aemet tests

* Adjust flux tests

* Adjust forecast_solar tests

* Revert unnecessary change in forecast_solar test

* Adjust climacell tests

* Adjust google tests

* Adjust sensor tests

* Adjust sonarr tests

* Adjust template tests

* Adjust zodiac tests

Co-authored-by: Martin Hjelmare <[email protected]>
2022-03-20 10:25:15 +01:00
Sebastian LövdahlandGitHub 744a2013cd Improve Vallox filter remaining time sensor (#66763) 2022-02-21 13:17:54 -10:00
Sebastian LövdahlandGitHub 0a95b2c591 Vallox config flow follow-up fixes (#63032)
* Vallox config flow follow-up fixes

* Fix logging

* Get documentation URL from manifest

* Feedback fixes
2021-12-30 11:58:36 +01:00
Sebastian LövdahlandGitHub b5fd2e0d58 Convert Vallox integration to config flow (#62780) 2021-12-28 10:06:29 -10:00