mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Improve aurora_abb_powerone typing (#70919)
This commit is contained in:
parent
2e3e7f1e94
commit
e6da1d7318
@ -1,6 +1,7 @@
|
|||||||
"""Config flow for Aurora ABB PowerOne integration."""
|
"""Config flow for Aurora ABB PowerOne integration."""
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from collections.abc import Mapping
|
||||||
import logging
|
import logging
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
@ -27,7 +28,7 @@ _LOGGER = logging.getLogger(__name__)
|
|||||||
|
|
||||||
|
|
||||||
def validate_and_connect(
|
def validate_and_connect(
|
||||||
hass: core.HomeAssistant, data: dict[str, Any]
|
hass: core.HomeAssistant, data: Mapping[str, Any]
|
||||||
) -> dict[str, str]:
|
) -> dict[str, str]:
|
||||||
"""Validate the user input allows us to connect.
|
"""Validate the user input allows us to connect.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user