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,
|
mdiBullhorn,
|
||||||
mdiCalendar,
|
mdiCalendar,
|
||||||
mdiCalendarClock,
|
mdiCalendarClock,
|
||||||
|
mdiCarCoolantLevel,
|
||||||
mdiCash,
|
mdiCash,
|
||||||
mdiClock,
|
mdiClock,
|
||||||
mdiCloudUpload,
|
mdiCloudUpload,
|
||||||
@ -55,6 +56,7 @@ import {
|
|||||||
mdiThermostat,
|
mdiThermostat,
|
||||||
mdiTimerOutline,
|
mdiTimerOutline,
|
||||||
mdiVideo,
|
mdiVideo,
|
||||||
|
mdiWater,
|
||||||
mdiWaterPercent,
|
mdiWaterPercent,
|
||||||
mdiWeatherCloudy,
|
mdiWeatherCloudy,
|
||||||
mdiWeatherPouring,
|
mdiWeatherPouring,
|
||||||
@ -154,7 +156,8 @@ export const FIXED_DEVICE_CLASS_ICONS = {
|
|||||||
timestamp: mdiClock,
|
timestamp: mdiClock,
|
||||||
volatile_organic_compounds: mdiMolecule,
|
volatile_organic_compounds: mdiMolecule,
|
||||||
voltage: mdiSineWave,
|
voltage: mdiSineWave,
|
||||||
// volume: TBD, => no well matching icon found
|
volume: mdiCarCoolantLevel,
|
||||||
|
water: mdiWater,
|
||||||
weight: mdiWeight,
|
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"],
|
speed: ["ft/s", "in/d", "in/h", "km/h", "kn", "m/s", "mm/d", "mm/h", "mph"],
|
||||||
temperature: ["°C", "°F", "K"],
|
temperature: ["°C", "°F", "K"],
|
||||||
volume: ["fl. oz.", "ft³", "gal", "L", "mL", "m³"],
|
volume: ["fl. oz.", "ft³", "gal", "L", "mL", "m³"],
|
||||||
|
water: ["ft³", "gal", "L", "m³"],
|
||||||
weight: ["g", "kg", "lb", "mg", "oz", "µg"],
|
weight: ["g", "kg", "lb", "mg", "oz", "µg"],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user