1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Fix sonos volume always showing 0 (#48685)

This commit is contained in:
J. Nick Koston
2021-04-04 17:26:55 -10:00
committed by GitHub
parent 30382c3dbe
commit 6dc1414b69
3 changed files with 21 additions and 2 deletions

View File

@@ -31,6 +31,10 @@ def soco_fixture(music_library, speaker_info, dummy_soco_service):
mock_soco.renderingControl = dummy_soco_service
mock_soco.zoneGroupTopology = dummy_soco_service
mock_soco.contentDirectory = dummy_soco_service
mock_soco.mute = False
mock_soco.night_mode = True
mock_soco.dialog_mode = True
mock_soco.volume = 19
yield mock_soco