Rename HomeAssistantType —> HomeAssistant for integrations n* - p* (#49559)
This commit is contained in:
parent
c351098f04
commit
34b258e812
27 changed files with 74 additions and 77 deletions
|
@ -1,7 +1,7 @@
|
|||
"""Support for Nest sensors that dispatches between API versions."""
|
||||
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.helpers.typing import HomeAssistantType
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
||||
from .const import DATA_SDM
|
||||
from .legacy.sensor import async_setup_legacy_entry
|
||||
|
@ -9,7 +9,7 @@ from .sensor_sdm import async_setup_sdm_entry
|
|||
|
||||
|
||||
async def async_setup_entry(
|
||||
hass: HomeAssistantType, entry: ConfigEntry, async_add_entities
|
||||
hass: HomeAssistant, entry: ConfigEntry, async_add_entities
|
||||
) -> None:
|
||||
"""Set up the sensors."""
|
||||
if DATA_SDM not in entry.data:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue