mirror of
https://github.com/esphome/esphome.git
synced 2024-11-12 10:16:02 +01:00
allow template parameters (#6972)
This commit is contained in:
parent
1e05bcaa61
commit
17204baac0
@ -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 New Issue
Block a user