Update SEN0590 sensor icon to use Material Design format
This commit is contained in:
1 parent
01b9a6543c
commit
7ef8e4920e
1 file changed
+1
-2
@@ -6,7 +6,6 @@ from esphome.const import (
|
|||||||
DEVICE_CLASS_DISTANCE,
|
DEVICE_CLASS_DISTANCE,
|
||||||
STATE_CLASS_MEASUREMENT,
|
STATE_CLASS_MEASUREMENT,
|
||||||
UNIT_CENTIMETER,
|
UNIT_CENTIMETER,
|
||||||
ICON_ARROW_EXPAND_HORIZONTAL,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
DEPENDENCIES = ["i2c"]
|
DEPENDENCIES = ["i2c"]
|
||||||
@@ -20,7 +19,7 @@ CONFIG_SCHEMA = (
|
|||||||
sensor.sensor_schema(
|
sensor.sensor_schema(
|
||||||
SEN0590Component,
|
SEN0590Component,
|
||||||
unit_of_measurement=UNIT_CENTIMETER,
|
unit_of_measurement=UNIT_CENTIMETER,
|
||||||
icon=ICON_ARROW_EXPAND_HORIZONTAL,
|
icon="mdi:arrow-expand-horizontal",
|
||||||
accuracy_decimals=1,
|
accuracy_decimals=1,
|
||||||
device_class=DEVICE_CLASS_DISTANCE,
|
device_class=DEVICE_CLASS_DISTANCE,
|
||||||
state_class=STATE_CLASS_MEASUREMENT,
|
state_class=STATE_CLASS_MEASUREMENT,
|
||||||
|
|||||||
Reference in new issue
Block a user