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