Franck Nijhof
42b50c71ec
Revert "Add tests for Sonos Alarms" ( #148319 )
2025-07-07 11:54:36 +02:00
Pete Sage
d997efc500
Add tests for Sonos Alarms ( #146308 )
2025-07-05 17:39:52 +02:00
Pete Sage
be7735964b
Sonos remove unneeded mocking from test ( #147064 )
2025-07-04 23:02:38 +02:00
Pete Sage
43d8a151ab
Remove internals from Sonos test_init.py ( #147063 )
...
* fix: test init
* fix: revert
* fix: revert
* fix: revert
* fix: revert
* fix: simplify
2025-06-18 09:21:21 +02:00
Pete Sage
1f6658fca0
Prevent ipv6 discovery messages for Sonos ( #139648 )
2025-03-12 15:19:09 -04:00
epenet
d0a188b86d
Standardize homeassistant imports in component tests (m-z) ( #136807 )
2025-01-29 08:57:57 +01:00
epenet
64500e837f
Use new ServiceInfo location in component tests (part 1) ( #136057 )
2025-01-20 13:09:34 +01:00
Jan-Philipp Benecke
1d425f3913
Use debug/warning instead of info log level in components [s] ( #126141 )
...
* Use debug/warning instead of info log level in components [s]
* Fix merge error
2024-09-18 21:33:52 +02:00
J. Nick Koston
3ad489d835
Fix flakey sonos test teardown ( #117222 )
...
https://github.com/home-assistant/core/actions/runs/9039805087/job/24843300480?pr=117214
2024-05-10 21:24:49 -04:00
epenet
24f83c5890
Use is in FlowResultType enum comparison in tests ( #114917 )
...
* Use is in FlowResultType enum comparison in tests
* Adjust auth
* Adjust systemmonitor
* Once more
* Add comment
2024-04-05 10:40:14 +02:00
J. Nick Koston
be398e0a3f
Fix flakey sonos test test_creating_entry_sets_up_media_player ( #114539 )
2024-03-31 13:49:24 -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
Sid
82a60fe8ad
Enable Ruff RSE ( #113695 )
2024-03-18 00:40:38 +01:00
Pete Sage
46ce438b6d
Sonos reduce test time ( #111688 )
2024-03-12 21:14:27 +01:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller
438d3b01b9
Use builtin TimeoutError [o-s] ( #109682 )
2024-02-05 12:14:37 +01:00
Jan Bouwhuis
facdc5e862
Fix - Make sure logging is in time in sonos CI test ( #101109 )
...
Make sure logging is in time in sonos CI test
2023-09-29 23:16:59 +02:00
Marc Mueller
8b0fdd6fd2
Use asyncio.timeout [s-z] ( #98452 )
2023-08-15 14:34:18 +02:00
PeteRager
6a8d18ab35
Sonos setup fails with unhandled exceptions on discovery messages ( #90648 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2023-05-30 10:09:13 -05:00
Matthias Alphart
0ba339e56c
Run socket.gethostbyname in executor in Obihai and Sonos ( #91190 )
...
* Run in executor in Obihai and Sonos
* fix Sonos test
* fix sonos test differently (review)
2023-04-12 09:58:27 +02:00
PeteRager
73ed6e039a
Improve logging for unavailable sonos hosts ( #90172 )
...
* Repeated warning messages on unavailable manually specified hosts
Sonos logs warning messages every 1 minute 12 seconds for hosts that are not on-line. This fixes the issue and the warning will be logged the first time, and subsequent logs messages will be at DEBUG level
* Update homeassistant/components/sonos/__init__.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
* Log info message when reconnect succeeds
* Use pop to simplify code
* Add additional test, fix key error with pop
* Use pop with default return value
* Update tests/components/sonos/test_init.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
* Update tests/components/sonos/test_init.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
* Update tests/components/sonos/test_init.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
* Update tests/components/sonos/test_init.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
* Update tests/components/sonos/test_init.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
* Update comment, remove unneeded line of code
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
2023-03-23 16:15:55 +01:00
epenet
3a9adacdde
Add type hints to integration tests (part 20) ( #88179 )
2023-02-15 15:23:34 +01:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74642 )
2022-07-07 19:57:36 +03:00
jjlawren
6d54261322
Remove external library discovery call in Sonos ( #61461 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2021-12-10 11:28:47 -10:00
jjlawren
9f3a4c3617
Improve Sonos tests, begin adding coverage ( #61198 )
...
* Update entity registry handling
* Add and use fixtures to test setup via config entry
* Remove legacy redundant tests
* Remove unnecessary mock_coro
* Remove unnecessary namespace change
* Move zeroconf payload to fixture
* Begin adding Sonos to codecov
* Mock proper return value
* Revert return value for platform
2021-12-08 19:28:27 +01:00
Anders Melchiorsen
e85b0ec052
Move Sonos to upstream SoCo ( #53351 )
2021-07-23 00:40:30 +02:00
Michał Mrozek
bfba46d64a
move imports in sonos component ( #27938 )
2019-10-19 23:52:42 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Anders Melchiorsen
5dbf58d67f
Remove support for deprecated Sonos configuration ( #23385 )
2019-04-26 08:56:43 +02:00
Paulus Schoutsen
ec57db78b5
Consolidate config flow components ( #20635 )
...
* Consolidate config flow components
* Fix tests
* Fix tests
* Put unifi back
* Fix reqs
* Update coveragerc
2019-02-01 15:45:44 -08:00
Paulus Schoutsen
8b42d0c471
Add confirmation to Cast/Sonos/iOS config entries ( #16769 )
...
* Add confirmation to Cast/Sonos/iOS config entries
* Remove redundant code
2018-09-21 16:34:37 +02:00
Anders Melchiorsen
78b6439ee6
Use pysonos for Sonos media player ( #16753 )
2018-09-20 23:50:11 +02:00
Jason Hu
50daef9a52
Add context to login flow ( #15914 )
...
* Add context to login flow
* source -> context
* Fix unit test
* Update comment
2018-08-13 11:27:18 +02:00
Paulus Schoutsen
3204501174
Cast/Sonos: create config entry if manually configured ( #15630 )
...
* Cast/Sonos: create config entry if manually configured
* Add test for helper
2018-07-23 15:08:03 +02:00
Paulus Schoutsen
2c6e6c2a6f
Add config entry for Sonos + Cast ( #14955 )
...
* Add config entry for Sonos
* Lint
* Use add_job
* Add Cast config entry
* Lint
* Rename DOMAIN import
* Mock pychromecast in test
2018-06-14 15:17:54 -04:00