Commit Graph

23 Commits (f33328308c445747932e854e39647551e0537c88)

Author SHA1 Message Date
Marc Mueller 921430d497
Import Generator from collections.abc (3) (#120916) 2024-07-01 12:09:11 +02:00
Marc Mueller 274cd41d57
Fix Generator annotations in tests (1) (#119018) 2024-06-07 08:43:32 +02:00
Marc Mueller 837ee7c4fb
Import Generator from typing_extensions (4) (#118992) 2024-06-06 17:41:37 +02:00
epenet 301c17cba7
Use registry fixtures in tests (o-p) (#118292) 2024-05-28 13:42:38 +02:00
Joost Lekkerkerker ee66f6ec8c
Use is in enum comparison in config flow tests P-T (#114675) 2024-04-02 11:21:50 -10:00
Joost Lekkerkerker 6bb4e7d62c
Bump ruff to 0.3.4 (#112690)
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller 1722e23df8
Add empty line after module docstring [tests l-p] (#112710) 2024-03-08 14:55:15 +01:00
Franck Nijhof 3e204ab82b
Small cleanup in conftest mocks of PVOutput (#103628) 2023-11-08 01:09:44 +01:00
Franck Nijhof 9a776d958c
Update pvo to 2.1.0 (#103551) 2023-11-07 08:18:25 +01:00
epenet 7b3a932cd9
Remove incorrect constant usage in test (#91198) 2023-04-11 10:00:17 +02:00
epenet 2cdc741900
Add type hints to integration tests (part 17) (#88163) 2023-02-15 11:14:04 +01:00
epenet a79be493e5
Adjust hass_client type hint in integration tests (#86954)
* Adjust hass_client type hint in integration tests

* Adjust hass_client_no_auth

* Fix rebase
2023-02-02 16:29:57 -05:00
Michael 72d3fa6d89
Replace the usage of unit constants by enumerations in Tests [o-r] (#85936) 2023-01-15 14:50:24 +01:00
Franck Nijhof bcf32f8331
Mark required fields in FlowResult typedict (#84811)
* Mark required fields in FlowResult typedict

* Remove unneeded asserts from tests
2022-12-30 12:01:45 +01:00
Franck Nijhof 98dae902a1
Migrate PVOutput to new entity naming style (#75016) 2022-07-17 16:45:38 +01:00
Franck Nijhof a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum (#74656) 2022-07-07 21:28:18 +02:00
Franck Nijhof 6bd21f05dc
Remove deprecated YAML configuration from PVOutput (#67162)
* Remove deprecated YAML configuration from PVOutput

* Clean up platform schema
2022-02-24 10:02:42 +01:00
Franck Nijhof 8ff987d90c
Fix PVOutput when no data is available (#66338) 2022-02-11 19:11:06 +01:00
Franck Nijhof b4c5bcf44d
Add diagnostics support to PVOutput (#64625) 2022-01-22 13:47:07 +01:00
Franck Nijhof ed791aa854
Add sensor tests to PVOutput (#63400) 2022-01-05 11:15:18 +01:00
Franck Nijhof 919aa95f97
Improve test coverage for PVOutput (#63048) 2022-01-04 20:20:39 +01:00
Franck Nijhof 90a9d64f67
Add reauthentication handling to PVOutput (#62932) 2021-12-28 17:28:35 +01:00
Franck Nijhof 1cfeb404b6
Add configuration flow to PVOutput (#62667)
* Add configuration flow to PVOutput

* Update homeassistant/components/pvoutput/sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/pvoutput/sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Use account URL placeholder

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-27 22:05:10 +01:00