1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-21 12:28:17 +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 Jesse Hills
parent a67b85eabf
commit c0804d665d
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

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)
),
),
}