mirror of
https://github.com/esphome/esphome.git
synced 2025-09-04 20:32:21 +01:00
Allow substitutions to be valid names (#4726)
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
__version__ = "2023.6.0-dev"
|
||||
|
||||
ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_"
|
||||
VALID_SUBSTITUTIONS_CHARACTERS = (
|
||||
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_"
|
||||
)
|
||||
|
||||
PLATFORM_ESP32 = "esp32"
|
||||
PLATFORM_ESP8266 = "esp8266"
|
||||
|
Reference in New Issue
Block a user