Sonos use common firmware version (#50861)
parent
44bbd9396d
commit
29205a9239
|
@ -147,7 +147,7 @@ class SonosSpeaker:
|
|||
|
||||
self.mac_address = speaker_info["mac_address"]
|
||||
self.model_name = speaker_info["model_name"]
|
||||
self.version = speaker_info["software_version"]
|
||||
self.version = speaker_info["display_version"]
|
||||
self.zone_name = speaker_info["zone_name"]
|
||||
|
||||
self.battery_info: dict[str, Any] | None = None
|
||||
|
|
|
@ -83,6 +83,7 @@ def speaker_info_fixture():
|
|||
"model_name": "Model Name",
|
||||
"software_version": "49.2-64250",
|
||||
"mac_address": "00-11-22-33-44-55",
|
||||
"display_version": "13.1",
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ async def test_device_registry(hass, config_entry, config, soco):
|
|||
identifiers={("sonos", "RINCON_test")}
|
||||
)
|
||||
assert reg_device.model == "Model Name"
|
||||
assert reg_device.sw_version == "49.2-64250"
|
||||
assert reg_device.sw_version == "13.1"
|
||||
assert reg_device.connections == {(dr.CONNECTION_NETWORK_MAC, "00:11:22:33:44:55")}
|
||||
assert reg_device.manufacturer == "Sonos"
|
||||
assert reg_device.suggested_area == "Zone A"
|
||||
|
|
Loading…
Reference in New Issue