Add sub-device support to Russound RIO (#146763)

This commit is contained in:
Noah Husby
2025-06-20 08:52:34 -04:00
committed by GitHub
parent e28965770e
commit 1b73acc025
5 changed files with 52 additions and 25 deletions

View File

@@ -17,6 +17,5 @@ MOCK_RECONFIGURATION_CONFIG = {
CONF_PORT: 9622,
}
DEVICE_NAME = "mca_c5"
NAME_ZONE_1 = "backyard"
ENTITY_ID_ZONE_1 = f"{MP_DOMAIN}.{DEVICE_NAME}_{NAME_ZONE_1}"
ENTITY_ID_ZONE_1 = f"{MP_DOMAIN}.{NAME_ZONE_1}"

View File

@@ -207,7 +207,7 @@ async def test_invalid_source_service(
with pytest.raises(
HomeAssistantError,
match="Error executing async_select_source on entity media_player.mca_c5_backyard",
match="Error executing async_select_source on entity media_player.backyard",
):
await hass.services.async_call(
MP_DOMAIN,