mirror of
https://github.com/esphome/esphome.git
synced 2026-09-25 14:00:25 +00:00
Linting fixes continued
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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']
|
||||||
|
|||||||
Reference in New Issue
Block a user