Rmove DNS1,DNS2 inclusive (#357)

This commit is contained in:
Otto Winter 2019-01-19 16:50:31 +01:00 committed by GitHub
parent e4a2677de4
commit e1f48b5028
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,8 +50,8 @@ AP_MANUAL_IP_SCHEMA = vol.Schema({
})
STA_MANUAL_IP_SCHEMA = AP_MANUAL_IP_SCHEMA.extend({
vol.Inclusive(CONF_DNS1, 'dns'): cv.ipv4,
vol.Inclusive(CONF_DNS2, 'dns'): cv.ipv4,
vol.Optional(CONF_DNS1, default="1.1.1.1"): cv.ipv4,
vol.Optional(CONF_DNS2, default="1.0.0.1"): cv.ipv4,
})
WIFI_NETWORK_BASE = vol.Schema({