1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-24 11:38:23 +00:00

[scd30] Increase minimal CONF_UPDATE_INTERVAL from 1 to 2 seconds (#8256)

This commit is contained in:
Djordje Mandic 2025-02-16 20:09:42 +01:00 committed by GitHub
parent 93c2878c21
commit e21ef22706
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,7 +75,7 @@ CONFIG_SCHEMA = (
cv.Optional(CONF_UPDATE_INTERVAL, default="60s"): cv.All(
cv.positive_time_period_seconds,
cv.Range(
min=core.TimePeriod(seconds=1), max=core.TimePeriod(seconds=1800)
min=core.TimePeriod(seconds=2), max=core.TimePeriod(seconds=1800)
),
),
}