Rename HomeAssistantType to HomeAssistant, integrations w* - z* (#49543)

* Integration zha: HomeAssistantType -> HomeAssistant.

* Integration zerproc: HomeAssistantType -> HomeAssistant.

* Integration xbox: HomeAssistantType -> HomeAssistant.

* Integration wunderground: HomeAssistantType -> HomeAssistant.

* Integration wled: HomeAssistantType -> HomeAssistant.

* Integration water_heater: HomeAssistantType -> HomeAssistant.

* Integration websocket_api: HomeAssistantType -> HomeAssistant.

* Integration wilight: HomeAssistantType -> HomeAssistant.
This commit is contained in:
jan iversen 2021-04-22 17:04:28 +02:00 committed by GitHub
parent 6992e24263
commit 9879b7becf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 69 additions and 81 deletions

View file

@ -14,11 +14,10 @@ from homeassistant.components.websocket_api.auth import (
TYPE_AUTH_REQUIRED,
)
from homeassistant.components.websocket_api.const import URL
from homeassistant.core import Context, callback
from homeassistant.core import Context, HomeAssistant, callback
from homeassistant.exceptions import HomeAssistantError
from homeassistant.helpers import entity
from homeassistant.helpers.dispatcher import async_dispatcher_send
from homeassistant.helpers.typing import HomeAssistantType
from homeassistant.loader import async_get_integration
from homeassistant.setup import DATA_SETUP_TIME, async_setup_component
@ -233,7 +232,7 @@ async def test_call_service_child_not_found(hass, websocket_client):
async def test_call_service_schema_validation_error(
hass: HomeAssistantType, websocket_client
hass: HomeAssistant, websocket_client
):
"""Test call service command with invalid service data."""