mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
fix closed cover state (#14424)
This commit is contained in:
parent
0bfb2b4a56
commit
49d9cf41fe
@ -17,7 +17,7 @@ export function stateActive(stateObj: HassEntity, state?: string): boolean {
|
||||
// Custom cases
|
||||
switch (domain) {
|
||||
case "cover":
|
||||
return !["close", "closing"].includes(compareState);
|
||||
return !["closed", "closing"].includes(compareState);
|
||||
case "device_tracker":
|
||||
case "person":
|
||||
return compareState !== "not_home";
|
||||
|
Loading…
x
Reference in New Issue
Block a user