mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-01 13:37:47 +00:00
linter fix
This commit is contained in:
parent
a0ab4dffc9
commit
e9ffdeff19
@ -53,7 +53,9 @@ export const computeStateDisplay = (
|
||||
stateObj.attributes.minute
|
||||
);
|
||||
return formatDateTime(date, language);
|
||||
} else if (domain === "humidifier") {
|
||||
}
|
||||
|
||||
if (domain === "humidifier") {
|
||||
if (stateObj.state === "on" && stateObj.attributes.humidity) {
|
||||
return `${stateObj.attributes.humidity} %`;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user