Franck Nijhof
95f3bd7c09
Fix line length violations in tests/components h ( #170955 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
2026-05-17 13:09:56 +02:00
Andrew Sayre
d8bcba9ef0
Enable HEOS automatic failover ( #140394 )
...
Failover
2025-03-11 13:00:43 -05:00
Andrew Sayre
6e2148193a
Bump pyheos to v1.0.3 ( #140310 )
...
Bump pyheos v1.0.3
2025-03-11 09:18:31 +01:00
Andrew Sayre
34a33e0465
Create HEOS devices after integration setup ( #138721 )
...
* Create entities for new players
* Fix docstring typo
2025-02-17 09:28:55 -06:00
Andrew Sayre
89956adf2e
Allow removal of stale HEOS devices ( #138677 )
...
Allow device removal
2025-02-17 08:47:11 +01:00
Andrew Sayre
dd82212e45
Handle previously migrated HEOS device identifier ( #137596 )
2025-02-07 09:04:34 -06:00
Andrew Sayre
bc7c5fbc86
Fix typing errors in HEOS tests ( #136795 )
...
* Correct typing errors of mocked heos
* Fix player related typing issues
* Sort mocks
2025-01-28 22:44:57 -05:00
Andrew Sayre
a3ba3bbb1d
Incorporate SourceManager into HEOS Coordinator ( #136377 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com >
2025-01-24 11:56:41 +01:00
Andrew Sayre
52f77626f7
Implement Coordinator for HEOS (initial plumbing) ( #136205 )
2025-01-22 22:12:05 +01:00
Andrew Sayre
9bf2996ea0
Update HEOS tests to not interact directly with integration internals ( #136177 )
2025-01-21 16:00:34 +01:00
Andrew Sayre
79a43b8a50
Update HEOS tests to not patch internals ( #136136 )
2025-01-21 08:26:34 +01:00
Andrew Sayre
d7ec99de7d
Remove yaml config fixture from HEOS tests ( #136123 )
2025-01-20 22:18:46 +01:00
Andrew Sayre
439f22f584
Fix HEOS device information ( #135940 )
2025-01-19 15:07:00 +01:00
Andrew Sayre
11fa6b2e4e
Bump pyheos to 1.0.0 ( #135415 )
2025-01-11 23:06:06 -06:00
Andrew Sayre
dfcb977a1d
Add HEOS Reauth Flow ( #134465 )
2025-01-03 18:11:10 +00:00
Andrew Sayre
c9ff575628
Add HEOS options flow for optional authentication ( #134105 )
...
* Add heos options flow
* Add options flow tests
* Test error condition during options sign out
* Use credentials when setting up
* Update warning instructions
* Simplify exception logic
* Cover unknown command error condition
* Add test for options
* Correct const import location
* Review feedback
* Update per feedback
* Parameterize tests and remaining feedback
* Correct log level in init
* nitpick feedback
2025-01-02 09:07:34 +01:00
Andrew Sayre
566843591e
Remove HEOS yaml import ( #133082 )
2024-12-13 09:46:52 +01:00
Andrew Sayre
4eb75a56e6
Use runtime data in HEOS ( #132030 )
...
* Adopt runtime_data
* Fix missing variable assignment
* Address PR feedback
2024-12-02 08:19:43 +01:00
Sid
721b2c2ca8
Enable Ruff PT012 ( #113957 )
2024-06-08 17:59:08 +02:00
J. Nick Koston
4f18f0d902
Fix setup timings when config entry platform loads are not awaited ( #113959 )
...
* Move setup time logging into the context manager
We were fetching the time twice but since the context
manager already has the timing, move it there
* remove log setup assertions from integration test
* tweak logging to give us better data for tracking issues
* redundant
* adjust
* preen
* fixes
* adjust
* make api change internal so nobody uses it
* coverage
* fix test
* fix more tests
* coverage
* more tests assuming internal calls
* fix more
* adjust
* adjust
* fix axis tests
* fix broadlink -- it does not call async_forward_entry_setup
* missed some
* remove useless patch
* rename, detect it both ways
* clear
* debug
* try to fix
* handle phase finishing out while paused
* where its set does not need to know its late as that is an implemenation detail of setup
* where its set does not need to know its late as that is an implemenation detail of setup
* tweak
* simplify
* reduce complexity
* revert order change as it makes review harder
* revert naming changes as it makes review harder
* improve comment
* improve debug
* late dispatch test
* test the other way as well
* Update setup.py
* Update setup.py
* Update setup.py
* simplify
* reduce
2024-03-23 15:26:38 -04:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
epenet
03710e58b5
Add type hints to integration tests (part 9) ( #87983 )
2023-02-13 12:06:51 +01:00
epenet
0d696b84b2
Cleanup root component imports in tests ( #78893 )
2022-09-21 06:57:41 -10:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
J. Nick Koston
9a53240759
Add ability to ignore heos discovery ( #34653 )
...
* Add ability to ignore heos discovery
* Fetch player_id, update tests
* Handle failure state
* Update tests as there are two players in the mock now
* Adjust and add more tests
* Strip out player id lookup
* reverts per review
* one more revert
2020-05-26 10:51:50 -05:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
Andrew Sayre
955bed8df4
Clean up HEOS strings ( #26242 )
...
* Clean up strings
* Shorten lines to ~ 88
2019-08-29 14:23:42 -05:00
Andrew Sayre
7bfb365f62
Update pyheos to 0.6.0 ( #26191 )
2019-08-25 20:57:43 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
f54ad26630
Migrate HEOS discovery to manifest ( #24508 )
...
* Migrate HEOS discovery to manifest
* Fix tests
2019-06-12 16:08:08 -07:00
Andrew Sayre
02d8731a61
Add HEOS sign-in/out services ( #23729 )
...
* Add HEOS sign-in/out services
* Fix typo in comment
2019-05-07 09:39:42 -07:00
Andrew Sayre
bf649e373c
Update IDs after firmware upgrade in HEOS ( #23641 )
...
* Initial work
* Update tests
2019-05-06 17:53:11 +02:00
Andrew Sayre
f3925b7ede
Bump pyheos ( #23616 )
2019-05-01 22:39:59 -07:00
Andrew Sayre
4110bd0acf
Add support for when device is not logged in to HEOS ( #22913 )
2019-04-09 18:21:00 +02:00
Andrew Sayre
9f2c5b7231
Add source selection to Heos component ( #22592 )
...
* Add select source support
* Review feedback changes
* Removed unused import
* Ignore 'umused' import used in typing
* Only include trace back on useful errors
* Remove return from play_source
2019-04-01 11:58:52 -05:00
Andrew Sayre
ecba87179f
Add Heos config flow ( #22554 )
...
* Add UI initiated config flow
* Fix alpha order
2019-03-30 08:52:17 -05:00
Andrew Sayre
1bfe86b30d
Change HEOS component library and add basic config flow ( #22517 )
...
* Update heos lib
* Update requirements files
* Removed unecessary mock_coro usage
* Remove assert_called_once usage
* Updates from review feedback
* Remove extra param to error format
2019-03-29 21:10:00 -07:00