mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 16:08:10 +01:00
Fix SHT3xD with manual update interval
This commit is contained in:
parent
0c77228421
commit
081c2f4e07
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ PLATFORM_SCHEMA = sensor.PLATFORM_SCHEMA.extend({
|
|||
def to_code(config):
|
||||
rhs = App.make_sht3xd_sensor(config[CONF_TEMPERATURE][CONF_NAME],
|
||||
config[CONF_HUMIDITY][CONF_NAME],
|
||||
config[CONF_ADDRESS],
|
||||
config.get(CONF_UPDATE_INTERVAL))
|
||||
sht3xd = variable(config[CONF_MAKE_ID], rhs)
|
||||
|
||||
|
|
Loading…
Reference in a new issue