From b2155ce7d413883aadc59cdab08852cedb8f634f Mon Sep 17 00:00:00 2001 From: Stephen Tierney Date: Mon, 1 Feb 2021 21:50:54 +1100 Subject: [PATCH] Linting fixes continued --- esphome/components/ltr390/ltr390.cpp | 1 - esphome/components/ltr390/sensor.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/esphome/components/ltr390/ltr390.cpp b/esphome/components/ltr390/ltr390.cpp index 0b39d0c1fb..cbf1e2e3f9 100644 --- a/esphome/components/ltr390/ltr390.cpp +++ b/esphome/components/ltr390/ltr390.cpp @@ -200,7 +200,6 @@ void LTR390Component::update() { this->reading = true; this->read_mode(0); } - } } // namespace ltr390 diff --git a/esphome/components/ltr390/sensor.py b/esphome/components/ltr390/sensor.py index 576380e633..41ffdf3197 100644 --- a/esphome/components/ltr390/sensor.py +++ b/esphome/components/ltr390/sensor.py @@ -1,7 +1,7 @@ import esphome.codegen as cg import esphome.config_validation as cv from esphome.components import i2c, sensor -from esphome.const import CONF_ID, CONF_GAIN, CONF_LIGHT, CONF_RESOLUTION, +from esphome.const import CONF_ID, CONF_GAIN, CONF_LIGHT, CONF_RESOLUTION, \ UNIT_LUX, ICON_BRIGHTNESS_5 DEPENDENCIES = ['i2c']