Erik Montnemery
ecb3bf79f3
Revert "Add support for subentries to config entries" ( #133470 )
...
Revert "Add support for subentries to config entries (#117355 )"
This reverts commit ad15786115
.
2024-12-18 13:51:05 +01:00
Simone Chemelli
5cc8d9e105
Full test coverage for Vodafone Station button platform ( #133281 )
2024-12-15 20:27:19 +01:00
Erik Montnemery
ad15786115
Add support for subentries to config entries ( #117355 )
...
* Add support for subentries to config entries
* Improve error handling and test coverage
* Include subentry_id in subentry containers
* Auto-generate subentry_id and add optional unique_id
* Tweak
* Update tests
* Fix stale docstring
* Address review comments
* Typing tweaks
* Add methods to ConfigEntries to add and remove subentry
* Improve ConfigSubentryData typed dict
* Update test snapshots
* Adjust tests
* Fix unique_id logic
* Allow multiple subentries with None unique_id
* Add number of subentries to config entry JSON representation
* Add subentry translation support
* Allow integrations to implement multiple subentry flows
* Update translations schema
* Adjust exception text
* Change subentry flow init step to user
* Prevent creating a subentry with colliding unique_id
* Update tests
* Address review comments
* Remove duplicaetd unique_id collision check
* Remove change from the future
* Improve test coverage
* Add default value for unique_id
2024-12-12 20:16:18 +01:00
Simone Chemelli
e7a7a18c43
Add diagnostics to Vodafone Station ( #128923 )
...
* Add diagnostics to Vodafone Station
* cleanup and exclude props based on date
2024-10-21 19:47:12 +02:00
epenet
edad766fd3
Use start_reauth helper method in integration tests (u-z) ( #124796 )
2024-08-28 16:51:16 +02:00
Joost Lekkerkerker
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
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
87165c0d6e
Add empty line after module docstring [tests t-z] ( #112712 )
2024-03-08 14:44:56 +01:00
Simone Chemelli
f77e4b24e6
Code quality for Vodafone tests ( #109078 )
...
vodafone pylance fixes
2024-01-31 13:15:26 +01:00
Simone Chemelli
09fb043f65
Add configure option to Vodafone Station for consider home ( #108594 )
...
* Add configure option to Vodafone Station for consider home
* add test
* improve tests
* reload on option change
2024-01-30 10:28:01 +01:00
Aarni Koskela
706add4a57
Switch formatting from black to ruff-format ( #102893 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
Simone Chemelli
6c1bcae291
Bump aiovodafone to 0.4.1 ( #102180 )
2023-10-18 10:56:48 +02:00
Simone Chemelli
e18ff03244
Improve Vodafone Station setup dialog messages ( #100937 )
2023-09-26 20:16:50 +02:00
Simone Chemelli
a82cd48282
Bump aiovodafone to 0.1.0 ( #99851 )
...
* bump aiovodafone to 0.1.0
* fix tests
2023-09-08 00:32:15 +02:00
Simone Chemelli
1692d83063
Vodafone Station device tracker ( #94032 )
...
* New integration for Vodafone Station
* coveragerc
* Add ConfigFlow,ScannerEntity,DataUpdateCoordinator
* Introduce aiovodafone lib
* heavy cleanup
* bump aiovodafone to v0.0.5
* add config_flow tests (100% coverage)
* run pre-comimit scripts again
* Remove redundant parameter SSL
* rename and cleanup
* cleanup and bug fix
* cleanup exceptions
* constructor comment review
* improve test patching
* move VodafoneStationDeviceInfo to dataclass
* intriduce home field
* dispacher cleanup
* remove extra attributes (reduces state writes)
* attempt to complete test flow
* complete flow for test_exception_connection
* add comment about unique id
2023-08-28 15:10:23 +02:00