mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 15:18:16 +00:00
Code formatting
This commit is contained in:
parent
4bf1d487ef
commit
af15c47ae2
@ -7,7 +7,8 @@ DEPENDENCIES = ['i2c']
|
|||||||
|
|
||||||
sts3x_ns = cg.esphome_ns.namespace('sts3x')
|
sts3x_ns = cg.esphome_ns.namespace('sts3x')
|
||||||
|
|
||||||
STS3XComponent = sts3x_ns.class_('STS3XComponent', sensor.Sensor, cg.PollingComponent, i2c.I2CDevice)
|
STS3XComponent = sts3x_ns.class_('STS3XComponent', sensor.Sensor,
|
||||||
|
cg.PollingComponent, i2c.I2CDevice)
|
||||||
|
|
||||||
CONFIG_SCHEMA = sensor.sensor_schema(UNIT_CELSIUS, ICON_THERMOMETER, 1).extend({
|
CONFIG_SCHEMA = sensor.sensor_schema(UNIT_CELSIUS, ICON_THERMOMETER, 1).extend({
|
||||||
cv.GenerateID(): cv.declare_id(STS3XComponent),
|
cv.GenerateID(): cv.declare_id(STS3XComponent),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user