From e38ec417de47445df5058d1753f93411fab56d65 Mon Sep 17 00:00:00 2001 From: Johan Isacsson Date: Wed, 4 Aug 2021 18:17:46 +0200 Subject: [PATCH] Update sensor.py --- custom_components/sunspec/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/sunspec/sensor.py b/custom_components/sunspec/sensor.py index 7049b82..9adf228 100644 --- a/custom_components/sunspec/sensor.py +++ b/custom_components/sunspec/sensor.py @@ -10,7 +10,6 @@ from homeassistant.const import DEVICE_CLASS_TEMPERATURE from homeassistant.const import DEVICE_CLASS_VOLTAGE from homeassistant.const import ELECTRIC_CURRENT_AMPERE -from homeassistant.const import POWER_VOLT_AMPERE from homeassistant.const import ENERGY_KILO_WATT_HOUR from homeassistant.const import ENERGY_WATT_HOUR from homeassistant.const import FREQUENCY_HERTZ @@ -18,6 +17,7 @@ from homeassistant.const import LENGTH_METERS from homeassistant.const import LENGTH_MILLIMETERS from homeassistant.const import PERCENTAGE +from homeassistant.const import POWER_VOLT_AMPERE from homeassistant.const import POWER_WATT from homeassistant.const import PRESSURE_HPA from homeassistant.const import SPEED_METERS_PER_SECOND