From 4eef9737f9a534ac769d58065639e79d4a66ebcb Mon Sep 17 00:00:00 2001 From: steve Date: Wed, 17 Mar 2021 12:36:14 +1100 Subject: [PATCH] Fixed device class import --- esphome/components/ltr390/sensor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/ltr390/sensor.py b/esphome/components/ltr390/sensor.py index 068751627f..2ca203502d 100644 --- a/esphome/components/ltr390/sensor.py +++ b/esphome/components/ltr390/sensor.py @@ -8,6 +8,7 @@ from esphome.const import ( CONF_RESOLUTION, UNIT_LUX, ICON_BRIGHTNESS_5, + DEVICE_CLASS_ILLUMINANCE, ) CODEOWNERS = ["@sjtrny"]