mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 21:44:55 +01:00
feat: set a wider range for jpeg quality (#3872)
fixes https://github.com/esphome/issues/issues/3570
This commit is contained in:
parent
c1f09684e6
commit
9767856784
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ CONFIG_SCHEMA = cv.ENTITY_BASE_SCHEMA.extend(
|
|||
cv.Optional(CONF_RESOLUTION, default="640X480"): cv.enum(
|
||||
FRAME_SIZES, upper=True
|
||||
),
|
||||
cv.Optional(CONF_JPEG_QUALITY, default=10): cv.int_range(min=10, max=63),
|
||||
cv.Optional(CONF_JPEG_QUALITY, default=10): cv.int_range(min=6, max=63),
|
||||
cv.Optional(CONF_CONTRAST, default=0): camera_range_param,
|
||||
cv.Optional(CONF_BRIGHTNESS, default=0): camera_range_param,
|
||||
cv.Optional(CONF_SATURATION, default=0): camera_range_param,
|
||||
|
|
Loading…
Reference in a new issue