diff --git a/custom_components/aquanta/__init__.py b/custom_components/aquanta/__init__.py index be79867..ccf9e5b 100644 --- a/custom_components/aquanta/__init__.py +++ b/custom_components/aquanta/__init__.py @@ -3,6 +3,7 @@ For more details about this integration, please refer to https://github.com/bmcclure/ha-aquanta """ + from __future__ import annotations from aquanta import Aquanta diff --git a/custom_components/aquanta/binary_sensor.py b/custom_components/aquanta/binary_sensor.py index c4066c7..dd42cec 100644 --- a/custom_components/aquanta/binary_sensor.py +++ b/custom_components/aquanta/binary_sensor.py @@ -1,4 +1,5 @@ """Binary sensor platform for aqaunta.""" + from __future__ import annotations from homeassistant.components.binary_sensor import ( diff --git a/custom_components/aquanta/config_flow.py b/custom_components/aquanta/config_flow.py index e2e2d5e..cacf4bc 100644 --- a/custom_components/aquanta/config_flow.py +++ b/custom_components/aquanta/config_flow.py @@ -1,4 +1,5 @@ """Adds config flow for Aquanta.""" + from __future__ import annotations from typing import Any diff --git a/custom_components/aquanta/const.py b/custom_components/aquanta/const.py index 3b7f42c..f09fa31 100644 --- a/custom_components/aquanta/const.py +++ b/custom_components/aquanta/const.py @@ -1,4 +1,5 @@ """Constants for the Aquanta integration.""" + from logging import Logger, getLogger LOGGER: Logger = getLogger(__package__) diff --git a/custom_components/aquanta/coordinator.py b/custom_components/aquanta/coordinator.py index 8465480..d189a43 100644 --- a/custom_components/aquanta/coordinator.py +++ b/custom_components/aquanta/coordinator.py @@ -1,4 +1,5 @@ """DataUpdateCoordinator for aquanta.""" + from __future__ import annotations from datetime import timedelta diff --git a/custom_components/aquanta/entity.py b/custom_components/aquanta/entity.py index 055e2b0..a294e76 100644 --- a/custom_components/aquanta/entity.py +++ b/custom_components/aquanta/entity.py @@ -1,4 +1,5 @@ """AquantaEntity class.""" + from __future__ import annotations from datetime import timedelta, datetime, timezone diff --git a/custom_components/aquanta/sensor.py b/custom_components/aquanta/sensor.py index fbbd86c..e000198 100644 --- a/custom_components/aquanta/sensor.py +++ b/custom_components/aquanta/sensor.py @@ -1,4 +1,5 @@ """Aquanta sensor component.""" + from __future__ import annotations from homeassistant.components.sensor import ( diff --git a/custom_components/aquanta/switch.py b/custom_components/aquanta/switch.py index e059639..a79b8c9 100644 --- a/custom_components/aquanta/switch.py +++ b/custom_components/aquanta/switch.py @@ -1,4 +1,5 @@ """Aquanta switch component.""" + from __future__ import annotations from homeassistant.components.switch import ( diff --git a/custom_components/aquanta/water_heater.py b/custom_components/aquanta/water_heater.py index 05ac990..6e9240a 100644 --- a/custom_components/aquanta/water_heater.py +++ b/custom_components/aquanta/water_heater.py @@ -1,4 +1,5 @@ """Aquanta water heater component.""" + from __future__ import annotations from homeassistant.components.water_heater import (