mirror of
https://github.com/esphome/esphome.git
synced 2025-09-10 15:22:24 +01:00
This commit is contained in:
@@ -52,7 +52,8 @@ class _Schema(vol.Schema):
|
||||
all_required_keys = {key for key in schema if isinstance(key, vol.Required)}
|
||||
|
||||
# Keys that may have defaults
|
||||
all_default_keys = {key for key in schema if isinstance(key, vol.Optional)}
|
||||
# This is a list because sets do not guarantee insertion order
|
||||
all_default_keys = [key for key in schema if isinstance(key, vol.Optional)]
|
||||
|
||||
# Recursively compile schema
|
||||
_compiled_schema = {}
|
||||
|
Reference in New Issue
Block a user