Use LENGTH_METERS constant (#34110)
This commit is contained in:
1 parent
538bb60022
commit
00b6409b76
9 files changed
+57
-18
No files matched your search
@@ -15,6 +15,7 @@ from homeassistant.const import (
|
||||
CONF_MONITORED_CONDITIONS,
|
||||
CONF_NAME,
|
||||
CONF_SCAN_INTERVAL,
|
||||
LENGTH_CENTIMETERS,
|
||||
LENGTH_KILOMETERS,
|
||||
SPEED_KILOMETERS_PER_HOUR,
|
||||
SPEED_METERS_PER_SECOND,
|
||||
@@ -128,11 +129,11 @@ SENSOR_TYPES = {
|
||||
],
|
||||
"precip_accumulation": [
|
||||
"Precip Accumulation",
|
||||
"cm",
|
||||
LENGTH_CENTIMETERS,
|
||||
"in",
|
||||
"cm",
|
||||
"cm",
|
||||
"cm",
|
||||
LENGTH_CENTIMETERS,
|
||||
LENGTH_CENTIMETERS,
|
||||
LENGTH_CENTIMETERS,
|
||||
"mdi:weather-snowy",
|
||||
["hourly", "daily"],
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user