mirror of
https://github.com/esphome/esphome.git
synced 2024-12-29 00:41:44 +01:00
Move `CONF_NAME_ADD_MAC_SUFFIX
to
const.py
` (#7820)
This commit is contained in:
parent
b95b4a0694
commit
71496574e9
2 changed files with 2 additions and 2 deletions
|
@ -528,6 +528,7 @@ CONF_MULTIPLE = "multiple"
|
|||
CONF_MULTIPLEXER = "multiplexer"
|
||||
CONF_MULTIPLY = "multiply"
|
||||
CONF_NAME = "name"
|
||||
CONF_NAME_ADD_MAC_SUFFIX = "name_add_mac_suffix"
|
||||
CONF_NAME_FONT = "name_font"
|
||||
CONF_NBITS = "nbits"
|
||||
CONF_NEC = "nec"
|
||||
|
|
|
@ -21,6 +21,7 @@ from esphome.const import (
|
|||
CONF_LIBRARIES,
|
||||
CONF_MIN_VERSION,
|
||||
CONF_NAME,
|
||||
CONF_NAME_ADD_MAC_SUFFIX,
|
||||
CONF_ON_BOOT,
|
||||
CONF_ON_LOOP,
|
||||
CONF_ON_SHUTDOWN,
|
||||
|
@ -59,8 +60,6 @@ ProjectUpdateTrigger = cg.esphome_ns.class_(
|
|||
|
||||
VERSION_REGEX = re.compile(r"^[0-9]+\.[0-9]+\.[0-9]+(?:[ab]\d+)?$")
|
||||
|
||||
CONF_NAME_ADD_MAC_SUFFIX = "name_add_mac_suffix"
|
||||
|
||||
|
||||
VALID_INCLUDE_EXTS = {".h", ".hpp", ".tcc", ".ino", ".cpp", ".c"}
|
||||
|
||||
|
|
Loading…
Reference in a new issue