From 8092c1e6637ac5c4dd2349973cc4e41af7c5c26e Mon Sep 17 00:00:00 2001 From: ludeeus Date: Mon, 22 Jul 2024 13:42:15 +0000 Subject: [PATCH] lint --- custom_components/healthchecksio/__init__.py | 1 + custom_components/healthchecksio/binary_sensor.py | 1 + custom_components/healthchecksio/config_flow.py | 1 + custom_components/healthchecksio/const.py | 1 + 4 files changed, 4 insertions(+) diff --git a/custom_components/healthchecksio/__init__.py b/custom_components/healthchecksio/__init__.py index b42e253..91a1293 100644 --- a/custom_components/healthchecksio/__init__.py +++ b/custom_components/healthchecksio/__init__.py @@ -4,6 +4,7 @@ For more details about this component, please refer to https://github.com/custom-components/healthchecksio """ + import asyncio import os from datetime import timedelta diff --git a/custom_components/healthchecksio/binary_sensor.py b/custom_components/healthchecksio/binary_sensor.py index 11cc5b8..a2e602c 100644 --- a/custom_components/healthchecksio/binary_sensor.py +++ b/custom_components/healthchecksio/binary_sensor.py @@ -1,4 +1,5 @@ """Binary sensor platform for Healthchecksio.""" + try: from homeassistant.components.binary_sensor import BinarySensorEntity except ImportError: diff --git a/custom_components/healthchecksio/config_flow.py b/custom_components/healthchecksio/config_flow.py index bab7eff..e3042fd 100644 --- a/custom_components/healthchecksio/config_flow.py +++ b/custom_components/healthchecksio/config_flow.py @@ -1,4 +1,5 @@ """Adds config flow for Blueprint.""" + import asyncio from collections import OrderedDict diff --git a/custom_components/healthchecksio/const.py b/custom_components/healthchecksio/const.py index 3ce95af..f3af89c 100644 --- a/custom_components/healthchecksio/const.py +++ b/custom_components/healthchecksio/const.py @@ -1,4 +1,5 @@ """Constants for blueprint.""" + # Base component constants DOMAIN = "healthchecksio" DOMAIN_DATA = f"{DOMAIN}_data"