mirror of
https://github.com/esphome/esphome.git
synced 2025-07-28 14:16:40 +00:00
[const] Move `CONF_RESET
` to const.py (#8889)
This commit is contained in:
parent
19e2460af2
commit
9dd4045984
@ -9,6 +9,7 @@ from esphome.const import (
|
|||||||
CONF_ID,
|
CONF_ID,
|
||||||
CONF_LINE_FREQUENCY,
|
CONF_LINE_FREQUENCY,
|
||||||
CONF_POWER,
|
CONF_POWER,
|
||||||
|
CONF_RESET,
|
||||||
CONF_VOLTAGE,
|
CONF_VOLTAGE,
|
||||||
DEVICE_CLASS_CURRENT,
|
DEVICE_CLASS_CURRENT,
|
||||||
DEVICE_CLASS_ENERGY,
|
DEVICE_CLASS_ENERGY,
|
||||||
@ -27,7 +28,6 @@ from esphome.const import (
|
|||||||
CONF_CURRENT_REFERENCE = "current_reference"
|
CONF_CURRENT_REFERENCE = "current_reference"
|
||||||
CONF_ENERGY_REFERENCE = "energy_reference"
|
CONF_ENERGY_REFERENCE = "energy_reference"
|
||||||
CONF_POWER_REFERENCE = "power_reference"
|
CONF_POWER_REFERENCE = "power_reference"
|
||||||
CONF_RESET = "reset"
|
|
||||||
CONF_VOLTAGE_REFERENCE = "voltage_reference"
|
CONF_VOLTAGE_REFERENCE = "voltage_reference"
|
||||||
|
|
||||||
DEPENDENCIES = ["uart"]
|
DEPENDENCIES = ["uart"]
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
import esphome.codegen as cg
|
import esphome.codegen as cg
|
||||||
from esphome.components import text_sensor, uart
|
from esphome.components import text_sensor, uart
|
||||||
import esphome.config_validation as cv
|
import esphome.config_validation as cv
|
||||||
from esphome.const import ICON_FINGERPRINT
|
from esphome.const import CONF_RESET, ICON_FINGERPRINT
|
||||||
|
|
||||||
CODEOWNERS = ["@hobbypunk90"]
|
CODEOWNERS = ["@hobbypunk90"]
|
||||||
DEPENDENCIES = ["uart"]
|
DEPENDENCIES = ["uart"]
|
||||||
CONF_RESET = "reset"
|
|
||||||
|
|
||||||
wl134_ns = cg.esphome_ns.namespace("wl_134")
|
wl134_ns = cg.esphome_ns.namespace("wl_134")
|
||||||
Wl134Component = wl134_ns.class_(
|
Wl134Component = wl134_ns.class_(
|
||||||
|
@ -735,6 +735,7 @@ CONF_REFRESH = "refresh"
|
|||||||
CONF_RELABEL = "relabel"
|
CONF_RELABEL = "relabel"
|
||||||
CONF_REPEAT = "repeat"
|
CONF_REPEAT = "repeat"
|
||||||
CONF_REPOSITORY = "repository"
|
CONF_REPOSITORY = "repository"
|
||||||
|
CONF_RESET = "reset"
|
||||||
CONF_RESET_DURATION = "reset_duration"
|
CONF_RESET_DURATION = "reset_duration"
|
||||||
CONF_RESET_PIN = "reset_pin"
|
CONF_RESET_PIN = "reset_pin"
|
||||||
CONF_RESIZE = "resize"
|
CONF_RESIZE = "resize"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user