Commit graph

15 commits

Author SHA1 Message Date
Marc Mueller
93cbb331e5
Update Mypy to 0.950 ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-27 20:49:54 -05:00
Marc Mueller
7ab9e5cf0f
Improve sonos error decorator typing () 2022-03-15 09:24:52 +01:00
jjlawren
aea1209d0d
Reduce magic in Sonos error handling fixture () 2022-02-28 16:38:08 -08:00
Marc Mueller
1053314a30
Fix error decorator [sonos] () 2022-02-12 13:51:53 -08:00
jjlawren
a7fd477c64
Refactor Sonos polling ()
* Refactor Sonos polling

Explicitly rename fallback polling
Catch soco exceptions centrally where possible
Create SonosPollingEntity subclass
Remove unnecessary soco_error fixture argument
Remove unnecessary polling in update_volume()
Adjust log levels and wording
Set explicit timeout on library

* Adjust logging to use raised exceptions

* Simplify availabiliity checks when using built-in poller

* Fix typing for return values
2022-02-08 12:17:05 -06:00
Marc Mueller
53496c019c
Start using ParamSpec for decorator functions () 2022-01-04 18:37:46 +01:00
jjlawren
da4349d133
Improve Sonos activity debug logging () 2021-12-06 15:21:28 -08:00
jjlawren
aa5cf175f4
Set Sonos availability based on activity and discovery () 2021-11-21 18:48:57 -06:00
J. Nick Koston
cab9f821a1
Fix zeroconf with sonos v1 firmware () 2021-11-10 22:31:08 -08:00
Marc Mueller
565a9fea6b
Import Callable from collections.abc (2) () 2021-09-29 14:06:51 +02:00
J. Nick Koston
0363c22dd8
Fix Sonos going offline with 13.3 firmware () 2021-09-23 20:39:20 -07:00
Anders Melchiorsen
e85b0ec052
Move Sonos to upstream SoCo () 2021-07-23 00:40:30 +02:00
J. Nick Koston
98109caee9
Add zeroconf discovery to Sonos () 2021-07-12 18:24:12 +02:00
jjlawren
d3724355cf
Improve Sonos Spotify/Tidal support, add service exceptions () 2021-06-17 11:09:57 +02:00
jjlawren
d6a202bd74
Move core Sonos functionality out of entities () 2021-05-11 10:36:40 -07:00