mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 11:22:24 +01:00
Fix SHT3xD with manual update interval
This commit is contained in:
@@ -29,6 +29,7 @@ PLATFORM_SCHEMA = sensor.PLATFORM_SCHEMA.extend({
|
|||||||
def to_code(config):
|
def to_code(config):
|
||||||
rhs = App.make_sht3xd_sensor(config[CONF_TEMPERATURE][CONF_NAME],
|
rhs = App.make_sht3xd_sensor(config[CONF_TEMPERATURE][CONF_NAME],
|
||||||
config[CONF_HUMIDITY][CONF_NAME],
|
config[CONF_HUMIDITY][CONF_NAME],
|
||||||
|
config[CONF_ADDRESS],
|
||||||
config.get(CONF_UPDATE_INTERVAL))
|
config.get(CONF_UPDATE_INTERVAL))
|
||||||
sht3xd = variable(config[CONF_MAKE_ID], rhs)
|
sht3xd = variable(config[CONF_MAKE_ID], rhs)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user