mirror of
https://github.com/esphome/esphome.git
synced 2025-01-06 19:08:23 +01:00
chore(mr60fda2): update icon const
This commit is contained in:
parent
fb4f9c7b6d
commit
81e8c4526d
@ -1,10 +1,11 @@
|
||||
import esphome.codegen as cg
|
||||
from esphome.components import select
|
||||
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
|
||||
|
||||
|
||||
DEPENDENCIES = ["seeed_mr60fda2"]
|
||||
|
||||
InstallHeightSelect = mr60fda2_ns.class_("InstallHeightSelect", select.Select)
|
||||
@ -19,12 +20,12 @@ CONFIG_SCHEMA = {
|
||||
cv.Optional(CONF_INSTALL_HEIGHT): select.select_schema(
|
||||
InstallHeightSelect,
|
||||
entity_category=ENTITY_CATEGORY_CONFIG,
|
||||
icon="ICON_ACCELERATION_Z",
|
||||
icon=ICON_ACCELERATION_Z,
|
||||
),
|
||||
cv.Optional(CONF_HEIGHT_THRESHOLD): select.select_schema(
|
||||
HeightThresholdSelect,
|
||||
entity_category=ENTITY_CATEGORY_CONFIG,
|
||||
icon="ICON_ACCELERATION_Z",
|
||||
icon=ICON_ACCELERATION_Z,
|
||||
),
|
||||
cv.Optional(CONF_SENSITIVITY): select.select_schema(
|
||||
SensitivitySelect,
|
||||
|
Loading…
Reference in New Issue
Block a user