mirror of
https://github.com/esphome/esphome.git
synced 2025-09-21 20:52:20 +01:00
add_job
This commit is contained in:
@@ -30,8 +30,7 @@ def to_code(config):
|
||||
else:
|
||||
rhs = hub.Pget_sensor_by_index(config[CONF_NAME], config[CONF_INDEX],
|
||||
update_interval, config.get(CONF_RESOLUTION))
|
||||
for _ in sensor.register_sensor(rhs, config):
|
||||
yield
|
||||
sensor.register_sensor(rhs, config)
|
||||
|
||||
|
||||
BUILD_FLAGS = '-DUSE_DALLAS_SENSOR'
|
||||
|
Reference in New Issue
Block a user