Commit graph

113 commits

Author SHA1 Message Date
jjlawren
29205a9239
Sonos use common firmware version (#50861) 2021-05-23 08:43:49 -05:00
jjlawren
ab86c7a135
Clean up Sonos resubscription failure logic and logging (#50831) 2021-05-18 22:15:16 -05:00
jjlawren
8129db1cfe
Handle Sonos subscription renewal failures (#50793) 2021-05-17 17:26:48 -05:00
jjlawren
b84cf915f3
Centralize storage and updating of Sonos favorites (#50581)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-16 11:11:35 +02:00
jjlawren
1afb0a0841
Sonos improve radio metadata handling (#50493) 2021-05-15 21:19:16 +02:00
jjlawren
db82808466
Skip adding battery on S1 Sonos devices (#50536) 2021-05-12 20:40:10 +02:00
jjlawren
afe02a4ad2
Fix Sonos const comparison (#50482)
* Fix Sonos const comparison

* Use constants for playback states
2021-05-11 16:06:51 -05:00
jjlawren
897dd012cd
Handle transport errors when updating media via events (#50481) 2021-05-11 16:00:56 -05:00
jjlawren
d6a202bd74
Move core Sonos functionality out of entities (#50277) 2021-05-11 10:36:40 -07:00
jjlawren
85d782808c
Fix Sonos polling bug (#50265) 2021-05-09 11:09:56 +02:00
jjlawren
d4ed65e0f5
Add power binary_sensor support to Sonos (#49730)
* Add power binary_sensor support to Sonos

* Prepare for future unloading of config entries

* Remove unnecessary calls to super() inits

* Add binary_sensor to tests, remove invalid test for empty battery payload

* Move sensor added_to_hass to common sensor class

* Avoid dispatching sensors if no battery

* Use proper attributes property

* Remove power source fallback

* Update homeassistant/components/sonos/speaker.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-27 04:52:05 -10:00
jjlawren
dc50524f32
Cleanup implementation of new Sonos sensors (#49716) 2021-04-26 23:59:04 +02:00
jjlawren
3be8c9c1c0
Add battery support for Sonos speakers (#49441)
Co-authored-by: Walter Huf <hufman@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-25 07:20:21 -10:00