Terminology: Rename Multi-PAN to Multiprotocol to be consistent (#99262)
This commit is contained in:
parent
f4bf8fa8f1
commit
b3b5ca9b95
8 changed files with 13 additions and 13 deletions
|
@ -885,7 +885,7 @@ class OptionsFlowHandler(config_entries.OptionsFlow, ABC):
|
|||
|
||||
|
||||
async def check_multi_pan_addon(hass: HomeAssistant) -> None:
|
||||
"""Check the multi-PAN addon state, and start it if installed but not started.
|
||||
"""Check the multiprotocol addon state, and start it if installed but not started.
|
||||
|
||||
Does nothing if Hass.io is not loaded.
|
||||
Raises on error or if the add-on is installed but not started.
|
||||
|
|
|
@ -45,7 +45,7 @@ async def _async_usb_scan_done(hass: HomeAssistant, entry: ConfigEntry) -> None:
|
|||
return
|
||||
|
||||
hw_discovery_data = {
|
||||
"name": "SkyConnect Multi-PAN",
|
||||
"name": "SkyConnect Multiprotocol",
|
||||
"port": {
|
||||
"path": get_zigbee_socket(),
|
||||
},
|
||||
|
|
|
@ -76,7 +76,7 @@ class HomeAssistantSkyConnectOptionsFlow(silabs_multiprotocol_addon.OptionsFlowH
|
|||
|
||||
def _zha_name(self) -> str:
|
||||
"""Return the ZHA name."""
|
||||
return "SkyConnect Multi-PAN"
|
||||
return "SkyConnect Multiprotocol"
|
||||
|
||||
def _hardware_name(self) -> str:
|
||||
"""Return the name of the hardware."""
|
||||
|
|
|
@ -35,7 +35,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||
hw_discovery_data = ZHA_HW_DISCOVERY_DATA
|
||||
else:
|
||||
hw_discovery_data = {
|
||||
"name": "Yellow Multi-PAN",
|
||||
"name": "Yellow Multiprotocol",
|
||||
"port": {
|
||||
"path": get_zigbee_socket(),
|
||||
},
|
||||
|
|
|
@ -153,7 +153,7 @@ class HomeAssistantYellowOptionsFlow(silabs_multiprotocol_addon.OptionsFlowHandl
|
|||
|
||||
def _zha_name(self) -> str:
|
||||
"""Return the ZHA name."""
|
||||
return "Yellow Multi-PAN"
|
||||
return "Yellow Multiprotocol"
|
||||
|
||||
def _hardware_name(self) -> str:
|
||||
"""Return the name of the hardware."""
|
||||
|
|
|
@ -85,7 +85,7 @@ class FakeOptionsFlow(silabs_multiprotocol_addon.OptionsFlowHandler):
|
|||
|
||||
def _zha_name(self) -> str:
|
||||
"""Return the ZHA name."""
|
||||
return "Test Multi-PAN"
|
||||
return "Test Multiprotocol"
|
||||
|
||||
def _hardware_name(self) -> str:
|
||||
"""Return the name of the hardware."""
|
||||
|
@ -353,7 +353,7 @@ async def test_option_flow_install_multi_pan_addon_zha(
|
|||
},
|
||||
"radio_type": "ezsp",
|
||||
}
|
||||
assert zha_config_entry.title == "Test Multi-PAN"
|
||||
assert zha_config_entry.title == "Test Multiprotocol"
|
||||
|
||||
result = await hass.config_entries.options.async_configure(result["flow_id"])
|
||||
assert result["type"] == FlowResultType.SHOW_PROGRESS_DONE
|
||||
|
@ -663,7 +663,7 @@ async def test_option_flow_addon_installed_same_device_uninstall(
|
|||
},
|
||||
domain=ZHA_DOMAIN,
|
||||
options={},
|
||||
title="Test Multi-PAN",
|
||||
title="Test Multiprotocol",
|
||||
)
|
||||
zha_config_entry.add_to_hass(hass)
|
||||
|
||||
|
@ -928,7 +928,7 @@ async def test_option_flow_flasher_install_failure(
|
|||
},
|
||||
domain=ZHA_DOMAIN,
|
||||
options={},
|
||||
title="Test Multi-PAN",
|
||||
title="Test Multiprotocol",
|
||||
)
|
||||
zha_config_entry.add_to_hass(hass)
|
||||
|
||||
|
@ -1071,7 +1071,7 @@ async def test_option_flow_uninstall_migration_initiate_failure(
|
|||
},
|
||||
domain=ZHA_DOMAIN,
|
||||
options={},
|
||||
title="Test Multi-PAN",
|
||||
title="Test Multiprotocol",
|
||||
)
|
||||
zha_config_entry.add_to_hass(hass)
|
||||
|
||||
|
@ -1132,7 +1132,7 @@ async def test_option_flow_uninstall_migration_finish_failure(
|
|||
},
|
||||
domain=ZHA_DOMAIN,
|
||||
options={},
|
||||
title="Test Multi-PAN",
|
||||
title="Test Multiprotocol",
|
||||
)
|
||||
zha_config_entry.add_to_hass(hass)
|
||||
|
||||
|
|
|
@ -207,7 +207,7 @@ async def test_setup_zha_multipan(
|
|||
"radio_type": "ezsp",
|
||||
}
|
||||
assert config_entry.options == {}
|
||||
assert config_entry.title == "SkyConnect Multi-PAN"
|
||||
assert config_entry.title == "SkyConnect Multiprotocol"
|
||||
|
||||
|
||||
async def test_setup_zha_multipan_other_device(
|
||||
|
|
|
@ -152,7 +152,7 @@ async def test_setup_zha_multipan(
|
|||
"radio_type": "ezsp",
|
||||
}
|
||||
assert config_entry.options == {}
|
||||
assert config_entry.title == "Yellow Multi-PAN"
|
||||
assert config_entry.title == "Yellow Multiprotocol"
|
||||
|
||||
|
||||
async def test_setup_zha_multipan_other_device(
|
||||
|
|
Loading…
Add table
Reference in a new issue