epenet
7b1b229718
Standardize homeassistant imports in component tests (a-l) ( #136806 )
2025-01-29 10:00:45 +01:00
Jan Bouwhuis
6837ea947c
Cleanup yaml import and legacy file notify service ( #130219 )
2024-11-09 15:54:18 +01:00
G Johansson
24a20c75eb
Add options flow to File ( #120269 )
...
* Add options flow to File
* Review comments
2024-08-15 18:21:07 +02:00
Jan Bouwhuis
548eb35b79
Migrate File notify entity platform ( #117215 )
...
* Migrate File notify entity platform
* Do not load legacy notify service for new config entries
* Follow up comment
* mypy
* Correct typing
* Only use the name when importing notify services
* Make sure a name is set on new entires
2024-05-13 11:22:13 +02:00
Jan Bouwhuis
7eb8f265fe
Add shared notify service migration repair helper ( #117213 )
...
* Add shared notifiy service migration repair helper
* Delete ecobee repairs.py
* Update dependency
* Fix file test
* Fix homematic tests
* Improve tests for file and homematic
2024-05-11 21:13:44 +02:00
Jan Bouwhuis
55c4ba12f6
Migrate file integration to config entry ( #116861 )
...
* File integration entry setup
* Import to entry and tests
* Add config flow
* Exception handling and tests
* Add config flow tests
* Add issue for micration and deprecation
* Check whole entry data for uniqueness
* Revert changes change new notify entity
* Follow up on code review
* Keep name service option
* Also keep sensor name
* Make name unique
* Follow up comment
* No default timestamp needed
* Remove default name as it is already set
* Use links
2024-05-10 10:54:36 +02: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
J. Nick Koston
10f2d8b4b1
Move legacy notify setup to use tracked tasks ( #113716 )
...
* Move legacy notify setup to a tracked task
* fix test
* fix test
* comment
2024-03-18 13:09:21 +01:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Jan-Philipp Benecke
7772f60426
Migrate file test to use freezegun ( #105892 )
2023-12-17 05:09:10 -10:00
epenet
b9beed4624
Add type hints to integration tests (part 6) ( #87979 )
2023-02-13 09:45:11 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
G Johansson
a8304392b5
Code quality file ( #65258 )
2022-02-12 11:49:37 -06:00
Marc Mueller
10bfc78365
Fix missing encoding with open() ( #53593 )
...
* Fix missing encoding with open()
* Fix tests
* Improve open - frontend
2021-07-28 09:41:45 +02:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
CurrentThread
250fbd857b
Rewrite file unittest tests to pytest style test functions ( #41616 )
2020-10-16 13:30:03 +02:00
Paulus Schoutsen
c33edbe5bb
Use TestCase.addCleanup ( #36560 )
2020-06-08 12:26:40 -07:00
Paulus Schoutsen
2af984917e
Use asynctest-mock in most places ( #35109 )
...
* Use asynctest-mock in most places
* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
springstan
ad102b3840
Use f-strings in integrations starting with "F"and"G" ( #32150 )
...
* Use f-strings in integrations starting with F
* Use f-strings in tests for integrations starting with F
* Use f-strings in integrations starting with G
* Use f-strings in tests for integrations starting with G
* Fix pylint error
* Fix broken test
2020-02-24 17:54:20 -08:00
Bas Nijholt
fa6b75f2c1
Sort imports according to PEP8 for file ( #29694 )
2019-12-09 11:45:11 +01:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Robbie Trencheny
7741ec4d5a
Great migration notify ( #22406 )
...
* Move notify platforms into components
* Move notify tests
* Fix notify tests
* More fixes
* Update requirements
* Update .coveragerc
* Run gen reqs
2019-03-27 20:36:13 -07:00