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
Ville Skyttä
940942a74a
Import `util.dt` as `dt_util` in `components/[p-s]*` ( #93761 )
2023-05-30 00:09:42 +03:00
epenet
6836e15d98
Add type hints to tests ( #92477 )
2023-05-04 11:25:35 +02:00
[pʲɵs]
6013584b7b
Add balance entity for Sonos speakers ( #85205 )
2023-04-23 01:18:17 +02:00
jjlawren
d5a6840588
Create repair issue if Sonos subscriptions fail ( #87437 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-04-22 19:28:04 +02: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
9762b684c2
Adjust entity registry access in tests (3) ( #88964 )
2023-03-01 16:04:40 +01:00
epenet
3a9adacdde
Add type hints to integration tests (part 20) ( #88179 )
2023-02-15 15:23:34 +01:00
epenet
aa00114c2f
Add return type to async tests without arguments ( #87612 )
2023-02-07 10:26:56 +01:00
Franck Nijhof
e50a531cd9
Code styling tweaks to the tests - Part 2 ( #86662 )
...
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2023-01-26 01:23:53 +01:00
jjlawren
1b592e6885
Use subscription callbacks to discover Sonos speakers ( #85411 )
...
fixes undefined
2023-01-08 09:50:18 -10:00
Steven Looman
731f618028
Make home assistant discoverable via UPnP/SSDP ( #79820 )
2022-10-15 14:00:46 -04:00
epenet
0d696b84b2
Cleanup root component imports in tests ( #78893 )
2022-09-21 06:57:41 -10:00
epenet
41d2ac3943
Cleanup MediaClass and MediaType in tests ( #78817 )
...
Cleanup MediaClass/MediaType in tests
2022-09-20 17:55:13 +02:00
epenet
75e52ef389
Use DOMAIN constant in plex ( #78764 )
2022-09-19 15:08:40 +02:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74642 )
2022-07-07 19:57:36 +03:00
jjlawren
ba7ad1029c
Remove legacy Sonos grouping services ( #74476 )
2022-07-07 12:17:13 +02:00
jjlawren
86fde1a644
Handle failures during initial Sonos subscription ( #73456 )
2022-06-22 10:56:17 -05:00
jjlawren
07a46dee39
Additional surround controls for Sonos ( #73805 )
2022-06-22 09:08:31 +02:00
jjlawren
30e71dd96f
Add support for Sonos loudness switch ( #72572 )
2022-05-30 16:09:14 +02:00
jjlawren
1f1932d224
Fix Sonos races related to grouping and startup ( #71026 )
2022-04-28 14:26:29 -07:00
jjlawren
5bcc83f6f2
Remove "sonos" prefix for Sonos switch entity_ids ( #70698 )
2022-04-25 16:01:54 -10:00
jjlawren
ac88d0be14
Add Sonos favorites sensor ( #70235 )
2022-04-21 10:37:16 -07:00
jjlawren
c53aa50093
Rework Sonos discovery & availability ( #70066 )
2022-04-17 22:54:51 -07:00
jjlawren
653305b998
Support multiple Plex servers in media browser ( #68321 )
2022-03-21 15:48:44 -07:00
jjlawren
dbb79e2937
Add support for Sonos subwoofer gain controls ( #68334 )
2022-03-18 10:12:10 -07:00
jjlawren
f75d621888
Normalize enqueuing Plex media on Sonos ( #68132 )
2022-03-17 13:52:59 -07:00
jjlawren
cfd763db40
Refactor Sonos media metadata handling ( #66840 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-02-23 08:58:00 -08:00
jjlawren
76149876ab
Enable fallback polling for Sonos microphone binary_sensor ( #66299 )
2022-02-21 19:46:20 +01:00
Joshua Roys
9134e5c844
Get discovered zeroconf IPv6 addresses ( #65462 )
2022-02-11 16:46:17 -06:00
jjlawren
4d944e35fd
Skip polling Sonos audio input sensor when idle ( #66271 )
2022-02-10 12:48:13 -08:00
jjlawren
cdad1a9f27
Use local Sonos API for Plex music playback ( #63357 )
2022-01-25 21:10:11 -08:00
jjlawren
ec88897d04
Add event statistics to Sonos diagnostics ( #64845 )
2022-01-24 22:52:40 -10:00
jjlawren
a7982adc73
Discard duplicate sonos events ( #64722 )
...
* Throttle duplicate Sonos events
* Fix test by breaking reference
2022-01-23 00:40:08 +01:00
jjlawren
e7f0962979
Improve Sonos diagnostics ( #64586 )
2022-01-20 13:14:08 -10:00
jjlawren
740a8c33ee
Add `audio_delay` number entity to Sonos ( #63566 )
2022-01-10 16:04:40 +01:00
jjlawren
8a8ffa1c08
Add support for Sonos microphone binary_sensor ( #63097 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-04 18:45:40 +01:00
jjlawren
00307e1ade
Bump soco to 0.25.2 ( #62691 )
2021-12-23 11:07:29 -08: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
jjlawren
cbf2bf2e1f
Add audio input format sensor to Sonos HT devices ( #60884 )
2021-12-03 10:06:56 -08:00
jjlawren
b883014ed4
Add Sonos subwoofer and surround on/off controls ( #60918 )
2021-12-03 16:05:40 +01:00
J. Nick Koston
8e0ef52cc8
Ensure sonos ssdp callbacks use dataclass methods ( #60782 )
2021-12-02 09:53:08 -08:00
jjlawren
a88cc8b98c
Move Sonos bass & treble controls to number entities ( #60498 )
2021-11-29 16:00:37 +01:00
epenet
77dfeb062f
Update ZeroconfServiceInfo in tests (n-t) ( #60219 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 10:35:44 -06:00
epenet
b465131170
Use ZeroconfServiceInfo in sonos ( #60095 )
2021-11-21 15:49:50 -06:00
jjlawren
81e02a39df
Ignore non-Sonos SSDP devices with Sonos-like identifiers ( #59809 )
2021-11-19 10:14:12 -06:00
J. Nick Koston
cab9f821a1
Fix zeroconf with sonos v1 firmware ( #59460 )
2021-11-10 22:31:08 -08:00
jjlawren
6e7fe13d51
Disable polling Sonos switches by default ( #58705 )
2021-10-29 14:43:59 -05:00