mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +01:00
openthread: mark some configuration fields as optional
This commit is contained in:
parent
bfe3f1d5cd
commit
2712350121
1 changed files with 4 additions and 4 deletions
|
@ -70,12 +70,12 @@ CONFIG_SCHEMA = cv.All(
|
|||
{
|
||||
cv.GenerateID(): cv.declare_id(OpenThreadComponent),
|
||||
cv.GenerateID(CONF_MDNS_ID): cv.use_id(MDNSComponent),
|
||||
cv.Required(CONF_NETWORK_NAME): cv.string_strict,
|
||||
cv.Required(CONF_PANID): cv.int_,
|
||||
cv.Required(CONF_CHANNEL): cv.int_,
|
||||
cv.Required(CONF_NETWORK_KEY): cv.string_strict,
|
||||
cv.Required(CONF_PSKC): cv.string_strict,
|
||||
cv.Required(CONF_PANID): cv.int_,
|
||||
cv.Required(CONF_EXTPANID): cv.string_strict,
|
||||
cv.Optional(CONF_EXTPANID): cv.string_strict,
|
||||
cv.Optional(CONF_NETWORK_NAME): cv.string_strict,
|
||||
cv.Optional(CONF_PSKC): cv.string_strict,
|
||||
}
|
||||
),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue