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

Move Sonos bass & treble controls to number entities (#60498)

This commit is contained in:
jjlawren
2021-11-29 09:00:37 -06:00
committed by GitHub
parent 3aa35e15c2
commit a88cc8b98c
6 changed files with 86 additions and 68 deletions

View File

@@ -70,6 +70,8 @@ def soco_fixture(music_library, speaker_info, battery_info, alarm_clock):
mock_soco.night_mode = True
mock_soco.dialog_mode = True
mock_soco.volume = 19
mock_soco.bass = 1
mock_soco.treble = -1
mock_soco.get_battery_info.return_value = battery_info
mock_soco.all_zones = [mock_soco]
yield mock_soco