Allow wifi output_power down to 8.5dB (#3405)

This commit is contained in:
Dan Jackson 2022-05-03 00:09:06 -07:00 committed by GitHub
parent 68dfaf238b
commit 91895aa70c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -270,7 +270,7 @@ CONFIG_SCHEMA = cv.All(
cv.Optional(CONF_FAST_CONNECT, default=False): cv.boolean, cv.Optional(CONF_FAST_CONNECT, default=False): cv.boolean,
cv.Optional(CONF_USE_ADDRESS): cv.string_strict, cv.Optional(CONF_USE_ADDRESS): cv.string_strict,
cv.SplitDefault(CONF_OUTPUT_POWER, esp8266=20.0): cv.All( cv.SplitDefault(CONF_OUTPUT_POWER, esp8266=20.0): cv.All(
cv.decibel, cv.float_range(min=10.0, max=20.5) cv.decibel, cv.float_range(min=8.5, max=20.5)
), ),
cv.Optional("enable_mdns"): cv.invalid( cv.Optional("enable_mdns"): cv.invalid(
"This option has been removed. Please use the [disabled] option under the " "This option has been removed. Please use the [disabled] option under the "