mirror of
https://github.com/esphome/esphome.git
synced 2025-10-17 17:23:45 +01:00
Update const.py added missing millimeter (#6834)
* Update const.py added missing millimeter Added missing millimeter * Fixed UNIT_MILLIMETER in multiple locations.
This commit is contained in:
@@ -12,6 +12,7 @@ from esphome.const import (
|
||||
CONF_TEMPERATURE,
|
||||
DEVICE_CLASS_TEMPERATURE,
|
||||
UNIT_CELSIUS,
|
||||
UNIT_MILLIMETER,
|
||||
STATE_CLASS_MEASUREMENT,
|
||||
CONF_BATTERY_LEVEL,
|
||||
DEVICE_CLASS_BATTERY,
|
||||
@@ -25,8 +26,6 @@ ICON_PROPANE_TANK = "mdi:propane-tank"
|
||||
|
||||
TANK_TYPE_CUSTOM = "CUSTOM"
|
||||
|
||||
UNIT_MILLIMETER = "mm"
|
||||
|
||||
|
||||
def small_distance(value):
|
||||
"""small_distance is stored in mm"""
|
||||
|
Reference in New Issue
Block a user