Expose Sonos features as switch entities (#54502)

Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
This commit is contained in:
jjlawren 2021-10-23 16:11:27 -05:00 committed by GitHub
parent 21daffe905
commit 084fd2d19f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 184 additions and 82 deletions

View file

@ -95,6 +95,4 @@ async def test_entity_basic(hass, config_entry, discover):
attributes = state.attributes
assert attributes["friendly_name"] == "Zone A"
assert attributes["is_volume_muted"] is False
assert attributes["night_sound"] is True
assert attributes["speech_enhance"] is True
assert attributes["volume_level"] == 0.19