Update esphome/components/apds9306/sensor.py

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Aodren Auffrédou-Heinicke 2024-05-14 15:09:27 -07:00 committed by GitHub
parent 9d1266e3b3
commit 1eb95ac591
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ CONFIG_SCHEMA = (
AMBIENT_LIGHT_GAINS, int=True
),
cv.Optional(CONF_BIT_WIDTH, default="18"): cv.enum(
MEASUREMENT_BIT_WIDTHS, lower=True
MEASUREMENT_BIT_WIDTHS, int=True
),
cv.Optional(CONF_MEASUREMENT_RATE, default="100ms"): cv.All(
cv.positive_time_period_milliseconds,