Expose Sonos features as switch entities (#54502)
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
This commit is contained in:
parent
21daffe905
commit
084fd2d19f
10 changed files with 184 additions and 82 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue