Change HomeAssistantType -> HomeAssistant in modbus (#49400)
This commit is contained in:
parent
cf51e07953
commit
0f90678e0e
5 changed files with 15 additions and 26 deletions
|
@ -21,13 +21,10 @@ from homeassistant.const import (
|
|||
CONF_SCAN_INTERVAL,
|
||||
CONF_SLAVE,
|
||||
)
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers import config_validation as cv
|
||||
from homeassistant.helpers.event import async_track_time_interval
|
||||
from homeassistant.helpers.typing import (
|
||||
ConfigType,
|
||||
DiscoveryInfoType,
|
||||
HomeAssistantType,
|
||||
)
|
||||
from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
|
||||
|
||||
from .const import (
|
||||
CALL_TYPE_COIL,
|
||||
|
@ -72,7 +69,7 @@ PLATFORM_SCHEMA = vol.All(
|
|||
|
||||
|
||||
async def async_setup_platform(
|
||||
hass: HomeAssistantType,
|
||||
hass: HomeAssistant,
|
||||
config: ConfigType,
|
||||
async_add_entities,
|
||||
discovery_info: DiscoveryInfoType | None = None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue