mirror of
https://github.com/esphome/esphome.git
synced 2025-09-06 05:12:21 +01:00
Neopixelbus redo method definitions (#2616)
This commit is contained in:
@@ -1399,7 +1399,7 @@ def typed_schema(schemas, **kwargs):
|
||||
if schema_option is None:
|
||||
raise Invalid(f"{key} not specified!")
|
||||
key_v = key_validator(schema_option)
|
||||
value = schemas[key_v](value)
|
||||
value = Schema(schemas[key_v])(value)
|
||||
value[key] = key_v
|
||||
return value
|
||||
|
||||
|
Reference in New Issue
Block a user