mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
allow template parameters (#6972)
This commit is contained in:
parent
1e05bcaa61
commit
17204baac0
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ def validate_parameter_name(value):
|
||||||
raise cv.Invalid(f"Script's parameter name cannot be {CONF_ID}")
|
raise cv.Invalid(f"Script's parameter name cannot be {CONF_ID}")
|
||||||
|
|
||||||
|
|
||||||
ALLOWED_PARAM_TYPE_CHARSET = set("abcdefghijklmnopqrstuvwxyz0123456789_:*&[]")
|
ALLOWED_PARAM_TYPE_CHARSET = set("abcdefghijklmnopqrstuvwxyz0123456789_:*&[]<>")
|
||||||
|
|
||||||
|
|
||||||
def validate_parameter_type(value):
|
def validate_parameter_type(value):
|
||||||
|
|
Loading…
Reference in a new issue