Sonos responsiveness improvements + enhancements (#4063)

* Sonos responsiveness improvements (async_ coroutines, event based updating, album art caching) + Better radio station information

* Docstring fixes.

* Docstring fixes.

* Updated SoCo dependency + fixed file permissions.

* Only fetch speaker info if needed.

* PEP8 fixes

* Fixed SoCoMock.get_speaker_info to get test to pass.

* Regenerated requirements_all.txt + async fetching of album art with caching + added http_session to HomeAssistant object.

* Unit test fixed.

* Add blank line as per flake8

* Fixed media image proxy unit test.

* Removed async stuff.

* Removed last remnants of async stuff.
This commit is contained in:
Bjarni Ivarsson authored and Robbie Trencheny committed 2016-11-01 10:42:38 -07:00
1 parent dad54bb993
commit c549ea115d
5 files changed
+390 -99

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ class SoCoMock():
"""Clear the sleep timer."""
return
def get_speaker_info(self):
def get_speaker_info(self, force):
"""Return a dict with various data points about the speaker."""
return {'serial_number': 'B8-E9-37-BO-OC-BA:2',
'software_version': '32.11-30071',