mirror of
https://github.com/esphome/esphome.git
synced 2025-01-10 14:43:17 +01:00
Linting fixes continued
This commit is contained in:
parent
8d08c82132
commit
b2155ce7d4
2 changed files with 1 additions and 2 deletions
|
@ -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']
|
||||||
|
|
Loading…
Reference in a new issue