mirror of
https://github.com/esphome/esphome.git
synced 2025-09-06 05:12:21 +01: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