mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Add support for overriding sensor speed unit (#13832)
This commit is contained in:
parent
3c1b2aa4f3
commit
d1c2020ee4
@ -112,6 +112,7 @@ const OVERRIDE_NUMBER_UNITS = {
|
||||
|
||||
const OVERRIDE_SENSOR_UNITS = {
|
||||
pressure: ["hPa", "Pa", "kPa", "bar", "cbar", "mbar", "mmHg", "inHg", "psi"],
|
||||
speed: ["ft/s", "in/d", "in/h", "km/h", "kn", "m/s", "mm/d", "mph"],
|
||||
temperature: ["°C", "°F", "K"],
|
||||
volume: ["fl. oz.", "ft³", "gal", "L", "mL", "m³"],
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user