From 5a346e26e2770388b1c57303b09f3491a165a1fb Mon Sep 17 00:00:00 2001 From: jontofront Date: Wed, 24 Jan 2024 23:21:19 +0200 Subject: [PATCH] reorganise sensor imports --- custom_components/econet300/sensor.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/custom_components/econet300/sensor.py b/custom_components/econet300/sensor.py index 8c01959..7c92dfc 100644 --- a/custom_components/econet300/sensor.py +++ b/custom_components/econet300/sensor.py @@ -4,10 +4,7 @@ import logging from typing import Any -from homeassistant.components.sensor import ( - SensorEntity, - SensorEntityDescription, -) +from homeassistant.components.sensor import SensorEntity, SensorEntityDescription from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddEntitiesCallback @@ -23,12 +20,12 @@ ENTITY_PRECISION, ENTITY_UNIT_MAP, ENTITY_VALUE_PROCESSOR, + MIXER_AVAILABILITY_KEY, + MIXER_SET_TEMP, SENSOR_MAP, SERVICE_API, SERVICE_COORDINATOR, STATE_CLASS_MAP, - MIXER_AVAILABILITY_KEY, - MIXER_SET_TEMP, ) from .entity import EconetEntity, MixerEntity