Commit Graph
12 Commits
Author SHA1 Message Date
Marc Mueller 1053314a30 Fix error decorator [sonos] (#66399) 2022-02-12 13:51:53 -08:00
jjlawren a7fd477c64 Refactor Sonos polling (#65722)
* 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 (#63148) 2022-01-04 18:37:46 +01:00
jjlawren da4349d133 Improve Sonos activity debug logging (#61122) 2021-12-06 15:21:28 -08:00
jjlawren aa5cf175f4 Set Sonos availability based on activity and discovery (#59994) 2021-11-21 18:48:57 -06:00
J. Nick Koston cab9f821a1 Fix zeroconf with sonos v1 firmware (#59460) 2021-11-10 22:31:08 -08:00
Marc Mueller 565a9fea6b Import Callable from collections.abc (2) (#56776) 2021-09-29 14:06:51 +02:00
J. Nick Koston 0363c22dd8 Fix Sonos going offline with 13.3 firmware (#56590) 2021-09-23 20:39:20 -07:00
Anders Melchiorsen e85b0ec052 Move Sonos to upstream SoCo (#53351) 2021-07-23 00:40:30 +02:00
J. Nick Koston 98109caee9 Add zeroconf discovery to Sonos (#52655) 2021-07-12 18:24:12 +02:00
jjlawren d3724355cf Improve Sonos Spotify/Tidal support, add service exceptions (#51871) 2021-06-17 11:09:57 +02:00
jjlawren d6a202bd74 Move core Sonos functionality out of entities (#50277) 2021-05-11 10:36:40 -07:00