diff --git a/homeassistant/components/homeassistant_sky_connect/__init__.py b/homeassistant/components/homeassistant_sky_connect/__init__.py index af6df6b519d..1de919b8c70 100644 --- a/homeassistant/components/homeassistant_sky_connect/__init__.py +++ b/homeassistant/components/homeassistant_sky_connect/__init__.py @@ -1,4 +1,4 @@ -"""The Home Assistant Sky Connect integration.""" +"""The Home Assistant SkyConnect integration.""" from __future__ import annotations import logging @@ -72,7 +72,7 @@ async def _multi_pan_addon_info( async def _async_usb_scan_done(hass: HomeAssistant, entry: ConfigEntry) -> None: - """Finish Home Assistant Sky Connect config entry setup.""" + """Finish Home Assistant SkyConnect config entry setup.""" matcher = usb.USBCallbackMatcher( domain=DOMAIN, vid=entry.data["vid"].upper(), @@ -99,7 +99,7 @@ async def _async_usb_scan_done(hass: HomeAssistant, entry: ConfigEntry) -> None: return hw_discovery_data = { - "name": "Sky Connect Multi-PAN", + "name": "SkyConnect Multi-PAN", "port": { "path": get_zigbee_socket(hass, addon_info), }, @@ -113,7 +113,7 @@ async def _async_usb_scan_done(hass: HomeAssistant, entry: ConfigEntry) -> None: async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: - """Set up a Home Assistant Sky Connect config entry.""" + """Set up a Home Assistant SkyConnect config entry.""" await _wait_multi_pan_addon(hass, entry) diff --git a/homeassistant/components/homeassistant_sky_connect/config_flow.py b/homeassistant/components/homeassistant_sky_connect/config_flow.py index 1e4fd8701cd..7bc514d5615 100644 --- a/homeassistant/components/homeassistant_sky_connect/config_flow.py +++ b/homeassistant/components/homeassistant_sky_connect/config_flow.py @@ -1,4 +1,4 @@ -"""Config flow for the Home Assistant Sky Connect integration.""" +"""Config flow for the Home Assistant SkyConnect integration.""" from __future__ import annotations from typing import Any @@ -14,7 +14,7 @@ from .util import get_usb_service_info class HomeAssistantSkyConnectConfigFlow(ConfigFlow, domain=DOMAIN): - """Handle a config flow for Home Assistant Sky Connect.""" + """Handle a config flow for Home Assistant SkyConnect.""" VERSION = 1 @@ -38,7 +38,7 @@ class HomeAssistantSkyConnectConfigFlow(ConfigFlow, domain=DOMAIN): if await self.async_set_unique_id(unique_id): self._abort_if_unique_id_configured(updates={"device": device}) return self.async_create_entry( - title="Home Assistant Sky Connect", + title="Home Assistant SkyConnect", data={ "device": device, "vid": vid, @@ -51,7 +51,7 @@ class HomeAssistantSkyConnectConfigFlow(ConfigFlow, domain=DOMAIN): class HomeAssistantSkyConnectOptionsFlow(silabs_multiprotocol_addon.OptionsFlowHandler): - """Handle an option flow for Home Assistant Sky Connect.""" + """Handle an option flow for Home Assistant SkyConnect.""" async def _async_serial_port_settings( self, @@ -75,8 +75,8 @@ class HomeAssistantSkyConnectOptionsFlow(silabs_multiprotocol_addon.OptionsFlowH def _zha_name(self) -> str: """Return the ZHA name.""" - return "Sky Connect Multi-PAN" + return "SkyConnect Multi-PAN" def _hardware_name(self) -> str: """Return the name of the hardware.""" - return "Home Assistant Sky Connect" + return "Home Assistant SkyConnect" diff --git a/homeassistant/components/homeassistant_sky_connect/const.py b/homeassistant/components/homeassistant_sky_connect/const.py index 1deb8fd4603..c504cead9cb 100644 --- a/homeassistant/components/homeassistant_sky_connect/const.py +++ b/homeassistant/components/homeassistant_sky_connect/const.py @@ -1,3 +1,3 @@ -"""Constants for the Home Assistant Sky Connect integration.""" +"""Constants for the Home Assistant SkyConnect integration.""" DOMAIN = "homeassistant_sky_connect" diff --git a/homeassistant/components/homeassistant_sky_connect/hardware.py b/homeassistant/components/homeassistant_sky_connect/hardware.py index f48e1763dd5..217a6e57543 100644 --- a/homeassistant/components/homeassistant_sky_connect/hardware.py +++ b/homeassistant/components/homeassistant_sky_connect/hardware.py @@ -1,4 +1,4 @@ -"""The Home Assistant Sky Connect hardware platform.""" +"""The Home Assistant SkyConnect hardware platform.""" from __future__ import annotations from homeassistant.components.hardware.models import HardwareInfo, USBInfo @@ -6,7 +6,7 @@ from homeassistant.core import HomeAssistant, callback from .const import DOMAIN -DONGLE_NAME = "Home Assistant Sky Connect" +DONGLE_NAME = "Home Assistant SkyConnect" @callback diff --git a/homeassistant/components/homeassistant_sky_connect/manifest.json b/homeassistant/components/homeassistant_sky_connect/manifest.json index 34bb2ad701c..58deb883aab 100644 --- a/homeassistant/components/homeassistant_sky_connect/manifest.json +++ b/homeassistant/components/homeassistant_sky_connect/manifest.json @@ -1,6 +1,6 @@ { "domain": "homeassistant_sky_connect", - "name": "Home Assistant Sky Connect", + "name": "Home Assistant SkyConnect", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/homeassistant_sky_connect", "dependencies": ["hardware", "usb", "homeassistant_hardware"], diff --git a/homeassistant/components/homeassistant_sky_connect/util.py b/homeassistant/components/homeassistant_sky_connect/util.py index 804ce83d063..7a87964f5c4 100644 --- a/homeassistant/components/homeassistant_sky_connect/util.py +++ b/homeassistant/components/homeassistant_sky_connect/util.py @@ -1,4 +1,4 @@ -"""Utility functions for Home Assistant Sky Connect integration.""" +"""Utility functions for Home Assistant SkyConnect integration.""" from __future__ import annotations from homeassistant.components import usb diff --git a/homeassistant/components/otbr/config_flow.py b/homeassistant/components/otbr/config_flow.py index 812ee15da2f..b92e978f1be 100644 --- a/homeassistant/components/otbr/config_flow.py +++ b/homeassistant/components/otbr/config_flow.py @@ -14,7 +14,7 @@ from .const import DOMAIN class OTBRConfigFlow(ConfigFlow, domain=DOMAIN): - """Handle a config flow for Home Assistant Sky Connect.""" + """Handle a config flow for Home Assistant SkyConnect.""" VERSION = 1 diff --git a/homeassistant/components/zha/radio_manager.py b/homeassistant/components/zha/radio_manager.py index 9251d458e3b..9b7493b9bd3 100644 --- a/homeassistant/components/zha/radio_manager.py +++ b/homeassistant/components/zha/radio_manager.py @@ -273,7 +273,7 @@ class ZhaMultiPANMigrationHelper: """Helper class for automatic migration when upgrading the firmware of a radio. This class is currently only intended to be used when changing the firmware on the - radio used in the Home Assistant Sky Connect USB stick and the Home Assistant Yellow + radio used in the Home Assistant SkyConnect USB stick and the Home Assistant Yellow from Zigbee only firmware to firmware supporting both Zigbee and Thread. """ diff --git a/tests/components/homeassistant_sky_connect/__init__.py b/tests/components/homeassistant_sky_connect/__init__.py index 90cd1594710..3a55fec688f 100644 --- a/tests/components/homeassistant_sky_connect/__init__.py +++ b/tests/components/homeassistant_sky_connect/__init__.py @@ -1 +1 @@ -"""Tests for the Home Assistant Sky Connect integration.""" +"""Tests for the Home Assistant SkyConnect integration.""" diff --git a/tests/components/homeassistant_sky_connect/conftest.py b/tests/components/homeassistant_sky_connect/conftest.py index f7f0bb8d128..7fcc1f86880 100644 --- a/tests/components/homeassistant_sky_connect/conftest.py +++ b/tests/components/homeassistant_sky_connect/conftest.py @@ -1,4 +1,4 @@ -"""Test fixtures for the Home Assistant Sky Connect integration.""" +"""Test fixtures for the Home Assistant SkyConnect integration.""" from collections.abc import Generator from unittest.mock import MagicMock, patch diff --git a/tests/components/homeassistant_sky_connect/test_config_flow.py b/tests/components/homeassistant_sky_connect/test_config_flow.py index 931abc69c4a..5aad0061674 100644 --- a/tests/components/homeassistant_sky_connect/test_config_flow.py +++ b/tests/components/homeassistant_sky_connect/test_config_flow.py @@ -1,4 +1,4 @@ -"""Test the Home Assistant Sky Connect config flow.""" +"""Test the Home Assistant SkyConnect config flow.""" import copy from unittest.mock import Mock, patch @@ -46,7 +46,7 @@ async def test_config_flow(hass: HomeAssistant) -> None: } assert result["type"] == FlowResultType.CREATE_ENTRY - assert result["title"] == "Home Assistant Sky Connect" + assert result["title"] == "Home Assistant SkyConnect" assert result["data"] == expected_data assert result["options"] == {} assert len(mock_setup_entry.mock_calls) == 1 @@ -54,7 +54,7 @@ async def test_config_flow(hass: HomeAssistant) -> None: config_entry = hass.config_entries.async_entries(DOMAIN)[0] assert config_entry.data == expected_data assert config_entry.options == {} - assert config_entry.title == "Home Assistant Sky Connect" + assert config_entry.title == "Home Assistant SkyConnect" assert ( config_entry.unique_id == f"{USB_DATA.vid}:{USB_DATA.pid}_{USB_DATA.serial_number}_{USB_DATA.manufacturer}_{USB_DATA.description}" @@ -68,7 +68,7 @@ async def test_config_flow_unique_id(hass: HomeAssistant) -> None: data={}, domain=DOMAIN, options={}, - title="Home Assistant Sky Connect", + title="Home Assistant SkyConnect", unique_id=f"{USB_DATA.vid}:{USB_DATA.pid}_{USB_DATA.serial_number}_{USB_DATA.manufacturer}_{USB_DATA.description}", ) config_entry.add_to_hass(hass) @@ -93,7 +93,7 @@ async def test_config_flow_multiple_entries(hass: HomeAssistant) -> None: data={}, domain=DOMAIN, options={}, - title="Home Assistant Sky Connect", + title="Home Assistant SkyConnect", unique_id=f"{USB_DATA.vid}:{USB_DATA.pid}_{USB_DATA.serial_number}_{USB_DATA.manufacturer}_{USB_DATA.description}", ) config_entry.add_to_hass(hass) @@ -119,7 +119,7 @@ async def test_config_flow_update_device(hass: HomeAssistant) -> None: data={}, domain=DOMAIN, options={}, - title="Home Assistant Sky Connect", + title="Home Assistant SkyConnect", unique_id=f"{USB_DATA.vid}:{USB_DATA.pid}_{USB_DATA.serial_number}_{USB_DATA.manufacturer}_{USB_DATA.description}", ) config_entry.add_to_hass(hass) @@ -176,7 +176,7 @@ async def test_option_flow_install_multi_pan_addon( }, domain=DOMAIN, options={}, - title="Home Assistant Sky Connect", + title="Home Assistant SkyConnect", unique_id=f"{USB_DATA.vid}:{USB_DATA.pid}_{USB_DATA.serial_number}_{USB_DATA.manufacturer}_{USB_DATA.description}", ) config_entry.add_to_hass(hass) @@ -271,7 +271,7 @@ async def test_option_flow_install_multi_pan_addon_zha( }, domain=DOMAIN, options={}, - title="Home Assistant Sky Connect", + title="Home Assistant SkyConnect", unique_id=f"{USB_DATA.vid}:{USB_DATA.pid}_{USB_DATA.serial_number}_{USB_DATA.manufacturer}_{USB_DATA.description}", ) config_entry.add_to_hass(hass) diff --git a/tests/components/homeassistant_sky_connect/test_hardware.py b/tests/components/homeassistant_sky_connect/test_hardware.py index 09e650388c5..b9489c7ebad 100644 --- a/tests/components/homeassistant_sky_connect/test_hardware.py +++ b/tests/components/homeassistant_sky_connect/test_hardware.py @@ -1,4 +1,4 @@ -"""Test the Home Assistant Sky Connect hardware platform.""" +"""Test the Home Assistant SkyConnect hardware platform.""" from unittest.mock import patch from homeassistant.components.homeassistant_sky_connect.const import DOMAIN @@ -38,7 +38,7 @@ async def test_hardware_info( data=CONFIG_ENTRY_DATA, domain=DOMAIN, options={}, - title="Home Assistant Sky Connect", + title="Home Assistant SkyConnect", unique_id="unique_1", ) config_entry.add_to_hass(hass) @@ -46,7 +46,7 @@ async def test_hardware_info( data=CONFIG_ENTRY_DATA_2, domain=DOMAIN, options={}, - title="Home Assistant Sky Connect", + title="Home Assistant SkyConnect", unique_id="unique_2", ) config_entry_2.add_to_hass(hass) @@ -76,7 +76,7 @@ async def test_hardware_info( "manufacturer": "bla_manufacturer", "description": "bla_description", }, - "name": "Home Assistant Sky Connect", + "name": "Home Assistant SkyConnect", "url": None, }, { @@ -89,7 +89,7 @@ async def test_hardware_info( "manufacturer": "bla_manufacturer_2", "description": "bla_description_2", }, - "name": "Home Assistant Sky Connect", + "name": "Home Assistant SkyConnect", "url": None, }, ] diff --git a/tests/components/homeassistant_sky_connect/test_init.py b/tests/components/homeassistant_sky_connect/test_init.py index c47066e8bc9..7fc9069c30b 100644 --- a/tests/components/homeassistant_sky_connect/test_init.py +++ b/tests/components/homeassistant_sky_connect/test_init.py @@ -1,4 +1,4 @@ -"""Test the Home Assistant Sky Connect integration.""" +"""Test the Home Assistant SkyConnect integration.""" from collections.abc import Generator from typing import Any from unittest.mock import MagicMock, Mock, patch @@ -64,7 +64,7 @@ async def test_setup_entry( data=CONFIG_ENTRY_DATA, domain=DOMAIN, options={}, - title="Home Assistant Sky Connect", + title="Home Assistant SkyConnect", ) config_entry.add_to_hass(hass) with patch( @@ -112,7 +112,7 @@ async def test_setup_zha( data=CONFIG_ENTRY_DATA, domain=DOMAIN, options={}, - title="Home Assistant Sky Connect", + title="Home Assistant SkyConnect", ) config_entry.add_to_hass(hass) with patch( @@ -163,7 +163,7 @@ async def test_setup_zha_multipan( data=CONFIG_ENTRY_DATA, domain=DOMAIN, options={}, - title="Home Assistant Sky Connect", + title="Home Assistant SkyConnect", ) config_entry.add_to_hass(hass) with patch( @@ -200,7 +200,7 @@ async def test_setup_zha_multipan( "radio_type": "ezsp", } assert config_entry.options == {} - assert config_entry.title == "Sky Connect Multi-PAN" + assert config_entry.title == "SkyConnect Multi-PAN" async def test_setup_zha_multipan_other_device( @@ -264,7 +264,7 @@ async def test_setup_entry_wait_usb(hass: HomeAssistant) -> None: data=CONFIG_ENTRY_DATA, domain=DOMAIN, options={}, - title="Home Assistant Sky Connect", + title="Home Assistant SkyConnect", ) config_entry.add_to_hass(hass) with patch( @@ -295,7 +295,7 @@ async def test_setup_entry_addon_info_fails( data=CONFIG_ENTRY_DATA, domain=DOMAIN, options={}, - title="Home Assistant Sky Connect", + title="Home Assistant SkyConnect", ) config_entry.add_to_hass(hass) with patch( @@ -324,7 +324,7 @@ async def test_setup_entry_addon_not_running( data=CONFIG_ENTRY_DATA, domain=DOMAIN, options={}, - title="Home Assistant Sky Connect", + title="Home Assistant SkyConnect", ) config_entry.add_to_hass(hass) with patch( diff --git a/tests/components/otbr/conftest.py b/tests/components/otbr/conftest.py index 29596028451..6bd1bd99f82 100644 --- a/tests/components/otbr/conftest.py +++ b/tests/components/otbr/conftest.py @@ -1,4 +1,4 @@ -"""Test fixtures for the Home Assistant Sky Connect integration.""" +"""Test fixtures for the Home Assistant SkyConnect integration.""" import pytest