mirror of
https://github.com/esphome/esphome.git
synced 2024-11-30 10:44:13 +01:00
chore(mr60fda2): update icon const
This commit is contained in:
parent
fb4f9c7b6d
commit
81e8c4526d
1 changed files with 4 additions and 3 deletions
|
@ -1,10 +1,11 @@
|
||||||
import esphome.codegen as cg
|
import esphome.codegen as cg
|
||||||
from esphome.components import select
|
from esphome.components import select
|
||||||
import esphome.config_validation as cv
|
import esphome.config_validation as cv
|
||||||
from esphome.const import CONF_SENSITIVITY, ENTITY_CATEGORY_CONFIG
|
from esphome.const import CONF_SENSITIVITY, ENTITY_CATEGORY_CONFIG, ICON_ACCELERATION_Z
|
||||||
|
|
||||||
from .. import CONF_MR60FDA2_ID, MR60FDA2Component, mr60fda2_ns
|
from .. import CONF_MR60FDA2_ID, MR60FDA2Component, mr60fda2_ns
|
||||||
|
|
||||||
|
|
||||||
DEPENDENCIES = ["seeed_mr60fda2"]
|
DEPENDENCIES = ["seeed_mr60fda2"]
|
||||||
|
|
||||||
InstallHeightSelect = mr60fda2_ns.class_("InstallHeightSelect", select.Select)
|
InstallHeightSelect = mr60fda2_ns.class_("InstallHeightSelect", select.Select)
|
||||||
|
@ -19,12 +20,12 @@ CONFIG_SCHEMA = {
|
||||||
cv.Optional(CONF_INSTALL_HEIGHT): select.select_schema(
|
cv.Optional(CONF_INSTALL_HEIGHT): select.select_schema(
|
||||||
InstallHeightSelect,
|
InstallHeightSelect,
|
||||||
entity_category=ENTITY_CATEGORY_CONFIG,
|
entity_category=ENTITY_CATEGORY_CONFIG,
|
||||||
icon="ICON_ACCELERATION_Z",
|
icon=ICON_ACCELERATION_Z,
|
||||||
),
|
),
|
||||||
cv.Optional(CONF_HEIGHT_THRESHOLD): select.select_schema(
|
cv.Optional(CONF_HEIGHT_THRESHOLD): select.select_schema(
|
||||||
HeightThresholdSelect,
|
HeightThresholdSelect,
|
||||||
entity_category=ENTITY_CATEGORY_CONFIG,
|
entity_category=ENTITY_CATEGORY_CONFIG,
|
||||||
icon="ICON_ACCELERATION_Z",
|
icon=ICON_ACCELERATION_Z,
|
||||||
),
|
),
|
||||||
cv.Optional(CONF_SENSITIVITY): select.select_schema(
|
cv.Optional(CONF_SENSITIVITY): select.select_schema(
|
||||||
SensitivitySelect,
|
SensitivitySelect,
|
||||||
|
|
Loading…
Reference in a new issue