Change ESP8266 default wifi output power (#862)

See also https://github.com/esphome/issues/issues/455
This commit is contained in:
Otto Winter 2019-11-17 23:28:43 +01:00
parent 37b8d665fe
commit a055de48e4
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

View File

@ -126,7 +126,8 @@ CONFIG_SCHEMA = cv.All(cv.Schema({
cv.enum(WIFI_POWER_SAVE_MODES, upper=True),
cv.Optional(CONF_FAST_CONNECT, default=False): cv.boolean,
cv.Optional(CONF_USE_ADDRESS): cv.string_strict,
cv.Optional(CONF_OUTPUT_POWER): cv.All(cv.decibel, cv.float_range(min=10.0, max=20.5)),
cv.SplitDefault(CONF_OUTPUT_POWER, esp8266=20.0): cv.All(
cv.decibel, cv.float_range(min=10.0, max=20.5)),
cv.Optional('hostname'): cv.invalid("The hostname option has been removed in 1.11.0"),
}), validate)