mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix to display correct weather attribute unit (#19750)
This commit is contained in:
parent
4e22fea6e2
commit
a3a099126e
@ -53,9 +53,7 @@ export const computeAttributeValueDisplay = (
|
||||
|
||||
if (domain === "weather") {
|
||||
unit = getWeatherUnit(config, stateObj as WeatherEntity, attribute);
|
||||
}
|
||||
|
||||
if (TEMPERATURE_ATTRIBUTES.has(attribute)) {
|
||||
} else if (TEMPERATURE_ATTRIBUTES.has(attribute)) {
|
||||
unit = config.unit_system.temperature;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user