mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
Fix custom output, add test
Fixes https://github.com/esphome/issues/issues/346
This commit is contained in:
@@ -1092,6 +1092,7 @@ def typed_schema(schemas, **kwargs):
|
||||
key_v = key_validator(value.pop(key))
|
||||
value = schemas[key_v](value)
|
||||
value[key] = key_v
|
||||
return value
|
||||
|
||||
return validator
|
||||
|
||||
|
||||
Reference in New Issue
Block a user