mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 03:36:44 +00:00
All new water device class (#14174)
This commit is contained in:
parent
5bb9538861
commit
9d3eaba46b
@ -13,6 +13,7 @@ import {
|
||||
mdiBullhorn,
|
||||
mdiCalendar,
|
||||
mdiCalendarClock,
|
||||
mdiCarCoolantLevel,
|
||||
mdiCash,
|
||||
mdiClock,
|
||||
mdiCloudUpload,
|
||||
@ -55,6 +56,7 @@ import {
|
||||
mdiThermostat,
|
||||
mdiTimerOutline,
|
||||
mdiVideo,
|
||||
mdiWater,
|
||||
mdiWaterPercent,
|
||||
mdiWeatherCloudy,
|
||||
mdiWeatherPouring,
|
||||
@ -154,7 +156,8 @@ export const FIXED_DEVICE_CLASS_ICONS = {
|
||||
timestamp: mdiClock,
|
||||
volatile_organic_compounds: mdiMolecule,
|
||||
voltage: mdiSineWave,
|
||||
// volume: TBD, => no well matching icon found
|
||||
volume: mdiCarCoolantLevel,
|
||||
water: mdiWater,
|
||||
weight: mdiWeight,
|
||||
};
|
||||
|
||||
|
@ -121,6 +121,7 @@ const OVERRIDE_SENSOR_UNITS = {
|
||||
speed: ["ft/s", "in/d", "in/h", "km/h", "kn", "m/s", "mm/d", "mm/h", "mph"],
|
||||
temperature: ["°C", "°F", "K"],
|
||||
volume: ["fl. oz.", "ft³", "gal", "L", "mL", "m³"],
|
||||
water: ["ft³", "gal", "L", "m³"],
|
||||
weight: ["g", "kg", "lb", "mg", "oz", "µg"],
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user