From 54b2cfa7f64b3ea2e14c35c961bbc760bb1fcb5e Mon Sep 17 00:00:00 2001 From: Robbin Janssen Date: Tue, 4 Jun 2024 12:03:19 +0200 Subject: [PATCH] Fix "black" lint issues --- custom_components/omnik_inverter/__init__.py | 1 + custom_components/omnik_inverter/binary_sensor.py | 1 + custom_components/omnik_inverter/config_flow.py | 1 + custom_components/omnik_inverter/const.py | 1 + custom_components/omnik_inverter/coordinator.py | 1 + custom_components/omnik_inverter/diagnostics.py | 1 + custom_components/omnik_inverter/models.py | 1 + custom_components/omnik_inverter/sensor.py | 1 + 8 files changed, 8 insertions(+) diff --git a/custom_components/omnik_inverter/__init__.py b/custom_components/omnik_inverter/__init__.py index aeeeb7c..4c1713c 100644 --- a/custom_components/omnik_inverter/__init__.py +++ b/custom_components/omnik_inverter/__init__.py @@ -1,4 +1,5 @@ """Omnik Inverter platform configuration.""" + from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core import HomeAssistant diff --git a/custom_components/omnik_inverter/binary_sensor.py b/custom_components/omnik_inverter/binary_sensor.py index f063f4c..f6559ac 100644 --- a/custom_components/omnik_inverter/binary_sensor.py +++ b/custom_components/omnik_inverter/binary_sensor.py @@ -1,4 +1,5 @@ """Support for Omnik Inverter binary sensors.""" + from __future__ import annotations from typing import Any diff --git a/custom_components/omnik_inverter/config_flow.py b/custom_components/omnik_inverter/config_flow.py index 5349a94..5d5de8d 100644 --- a/custom_components/omnik_inverter/config_flow.py +++ b/custom_components/omnik_inverter/config_flow.py @@ -1,4 +1,5 @@ """Config flow for Omnik Inverter integration.""" + from __future__ import annotations import socket diff --git a/custom_components/omnik_inverter/const.py b/custom_components/omnik_inverter/const.py index 8f3643a..0899175 100644 --- a/custom_components/omnik_inverter/const.py +++ b/custom_components/omnik_inverter/const.py @@ -1,4 +1,5 @@ """Constants for the Omnik Inverter integration.""" + from __future__ import annotations import logging diff --git a/custom_components/omnik_inverter/coordinator.py b/custom_components/omnik_inverter/coordinator.py index a3c248a..143b835 100644 --- a/custom_components/omnik_inverter/coordinator.py +++ b/custom_components/omnik_inverter/coordinator.py @@ -1,4 +1,5 @@ """Omnik Inverter platform configuration.""" + import logging from datetime import timedelta from typing import TypedDict diff --git a/custom_components/omnik_inverter/diagnostics.py b/custom_components/omnik_inverter/diagnostics.py index d5f2985..ad80498 100644 --- a/custom_components/omnik_inverter/diagnostics.py +++ b/custom_components/omnik_inverter/diagnostics.py @@ -1,4 +1,5 @@ """Diagnostics support for Omnik Inverter integration.""" + from __future__ import annotations from dataclasses import asdict diff --git a/custom_components/omnik_inverter/models.py b/custom_components/omnik_inverter/models.py index cb17ebc..423a19d 100644 --- a/custom_components/omnik_inverter/models.py +++ b/custom_components/omnik_inverter/models.py @@ -1,4 +1,5 @@ """Support for Omnik Inverter entities.""" + from __future__ import annotations from dataclasses import dataclass diff --git a/custom_components/omnik_inverter/sensor.py b/custom_components/omnik_inverter/sensor.py index 31718b9..97819d8 100644 --- a/custom_components/omnik_inverter/sensor.py +++ b/custom_components/omnik_inverter/sensor.py @@ -1,4 +1,5 @@ """Support for Omnik Inverter sensors.""" + from __future__ import annotations import dataclasses