From a77f4649be5c9f7ad05ef57e42709d7e049c382e Mon Sep 17 00:00:00 2001 From: Hipstercat Date: Mon, 3 Jan 2022 21:20:31 +0100 Subject: [PATCH] fix wrong import --- sensor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sensor.py b/sensor.py index 21ba3bb..8b19bfb 100644 --- a/sensor.py +++ b/sensor.py @@ -1,5 +1,4 @@ -import datetime -from homeassistant.components.switch import SensorEntity +from homeassistant.components.sensor import SensorEntity from homeassistant.core import HomeAssistant from homeassistant.const import TIME_MINUTES from homeassistant.helpers.entity_platform import AddEntitiesCallback