Replace HomeAssistantType with HomeAssistant for integrations m* - n* (#49566)
* Integration neato: rename HomeAssistantType to HomeAssistant. * Integration mysensors: rename HomeAssistantType to HomeAssistant. * Integration mobile_app: rename HomeAssistantType to HomeAssistant. * Integration minecraft_server: rename HomeAssistantType to HomeAssistant. * Clean up Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
c3d9aaa896
commit
d76993034e
24 changed files with 92 additions and 102 deletions
|
@ -25,7 +25,8 @@ from homeassistant.components.mysensors.const import (
|
|||
CONF_TOPIC_IN_PREFIX,
|
||||
CONF_TOPIC_OUT_PREFIX,
|
||||
)
|
||||
from homeassistant.helpers.typing import ConfigType, HomeAssistantType
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers.typing import ConfigType
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
|
||||
|
@ -226,7 +227,7 @@ from homeassistant.setup import async_setup_component
|
|||
],
|
||||
)
|
||||
async def test_import(
|
||||
hass: HomeAssistantType,
|
||||
hass: HomeAssistant,
|
||||
mqtt: None,
|
||||
config: ConfigType,
|
||||
expected_calls: int,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue