Rename HomeAssistantType —> HomeAssistant, integrations t* - v* (#49544)
* Integration vizio: HomeAssistantType -> HomeAssistant. * Integration velbus: HomeAssistantType -> HomeAssistant. * Integration vacuum: HomeAssistantType -> HomeAssistant. * Integration upnp: HomeAssistantType -> HomeAssistant. * Integration upcloud: HomeAssistantType -> HomeAssistant. * Integration twinkly: HomeAssistantType -> HomeAssistant. * Integration tts: HomeAssistantType -> HomeAssistant. * Integration tradfri: HomeAssistantType -> HomeAssistant. * Integration traccar: HomeAssistantType -> HomeAssistant. * Integration tplink: HomeAssistantType -> HomeAssistant.
This commit is contained in:
parent
2e084f260e
commit
6992e24263
23 changed files with 141 additions and 149 deletions
|
@ -15,7 +15,7 @@ from homeassistant.components.upnp.const import (
|
|||
DOMAIN,
|
||||
)
|
||||
from homeassistant.components.upnp.device import Device
|
||||
from homeassistant.helpers.typing import HomeAssistantType
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
from .mock_device import MockDevice
|
||||
|
@ -23,7 +23,7 @@ from .mock_device import MockDevice
|
|||
from tests.common import MockConfigEntry
|
||||
|
||||
|
||||
async def test_async_setup_entry_default(hass: HomeAssistantType):
|
||||
async def test_async_setup_entry_default(hass: HomeAssistant):
|
||||
"""Test async_setup_entry."""
|
||||
udn = "uuid:device_1"
|
||||
location = "http://192.168.1.1/desc.xml"
|
||||
|
@ -69,7 +69,7 @@ async def test_async_setup_entry_default(hass: HomeAssistantType):
|
|||
async_create_device.assert_called_with(hass, discoveries[0][DISCOVERY_LOCATION])
|
||||
|
||||
|
||||
async def test_sync_setup_entry_multiple_discoveries(hass: HomeAssistantType):
|
||||
async def test_sync_setup_entry_multiple_discoveries(hass: HomeAssistant):
|
||||
"""Test async_setup_entry."""
|
||||
udn_0 = "uuid:device_1"
|
||||
location_0 = "http://192.168.1.1/desc.xml"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue