mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-29 17:28:28 +02: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