Linting fixes continued

This commit is contained in:
Stephen Tierney 2021-02-01 21:50:54 +11:00 committed by steve
parent 8d08c82132
commit b2155ce7d4
2 changed files with 1 additions and 2 deletions

View file

@ -200,7 +200,6 @@ void LTR390Component::update() {
this->reading = true; this->reading = true;
this->read_mode(0); this->read_mode(0);
} }
} }
} // namespace ltr390 } // namespace ltr390

View file

@ -1,7 +1,7 @@
import esphome.codegen as cg import esphome.codegen as cg
import esphome.config_validation as cv import esphome.config_validation as cv
from esphome.components import i2c, sensor 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 UNIT_LUX, ICON_BRIGHTNESS_5
DEPENDENCIES = ['i2c'] DEPENDENCIES = ['i2c']