mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 09:18:00 +01:00
chore(mr60fda2): use macro for factory_reset
This commit is contained in:
parent
e0ee4a5bdd
commit
1db235c2c5
1 changed files with 1 additions and 1 deletions
|
@ -7,6 +7,7 @@ from esphome.const import (
|
|||
ENTITY_CATEGORY_DIAGNOSTIC,
|
||||
ENTITY_CATEGORY_NONE,
|
||||
)
|
||||
from const import CONF_FACTORY_RESET
|
||||
|
||||
from .. import CONF_MR60FDA2_ID, MR60FDA2Component, mr60fda2_ns
|
||||
|
||||
|
@ -16,7 +17,6 @@ GetRadarParametersButton = mr60fda2_ns.class_("GetRadarParametersButton", button
|
|||
ResetRadarButton = mr60fda2_ns.class_("ResetRadarButton", button.Button)
|
||||
|
||||
CONF_GET_RADAR_PARAMETERS = "get_radar_parameters"
|
||||
CONF_FACTORY_RESET = "factory_reset"
|
||||
|
||||
CONFIG_SCHEMA = {
|
||||
cv.GenerateID(CONF_MR60FDA2_ID): cv.use_id(MR60FDA2Component),
|
||||
|
|
Loading…
Reference in a new issue