From 20c16267561f3c759ec3fa286e300f19a5e5f961 Mon Sep 17 00:00:00 2001 From: Pavel S Date: Thu, 2 Nov 2023 18:56:33 +0100 Subject: [PATCH] fix: remove unused "homeassistant.util.distance" --- custom_components/clientraw/manifest.json | 2 +- custom_components/clientraw/sensor.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/custom_components/clientraw/manifest.json b/custom_components/clientraw/manifest.json index 6ac8893..8319719 100644 --- a/custom_components/clientraw/manifest.json +++ b/custom_components/clientraw/manifest.json @@ -7,5 +7,5 @@ "iot_class": "cloud_polling", "issue_tracker": "https://github.com/pilotak/homeassistant-clientraw/issues", "requirements": [], - "version": "2.6.0" + "version": "2.6.1" } diff --git a/custom_components/clientraw/sensor.py b/custom_components/clientraw/sensor.py index 2ea55d0..2917763 100644 --- a/custom_components/clientraw/sensor.py +++ b/custom_components/clientraw/sensor.py @@ -18,14 +18,13 @@ from homeassistant.util import slugify from homeassistant.util.unit_conversion import ( TemperatureConverter, PressureConverter, DistanceConverter) -from homeassistant.util.distance import convert as convert_distance from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import (async_track_utc_time_change, async_call_later) from homeassistant.util.unit_system import METRIC_SYSTEM -__version__ = '2.6.0' +__version__ = '2.6.1' _LOGGER = logging.getLogger(__name__)