From d524f0740960852850432dcd1842e77a36666a86 Mon Sep 17 00:00:00 2001 From: Johan Isacsson Date: Sun, 2 Apr 2023 18:26:21 +0200 Subject: [PATCH] Test fix --- 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 3f9a426..776ebc6 100644 --- a/custom_components/sunspec/sensor.py +++ b/custom_components/sunspec/sensor.py @@ -6,10 +6,10 @@ from homeassistant.components.sensor import DEVICE_CLASS_TEMPERATURE from homeassistant.components.sensor import DEVICE_CLASS_VOLTAGE from homeassistant.components.sensor import RestoreSensor +from homeassistant.components.sensor import SensorDeviceClass from homeassistant.components.sensor import SensorEntity from homeassistant.components.sensor import STATE_CLASS_MEASUREMENT from homeassistant.components.sensor import STATE_CLASS_TOTAL_INCREASING -from homeassistant.components.sensor.const import SensorDeviceClass from homeassistant.const import DATA_RATE_BITS_PER_SECOND from homeassistant.const import DATA_RATE_MEGABITS_PER_SECOND from homeassistant.const import DEGREE