mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Consider standby media player as inactive for tile card (#14226)
This commit is contained in:
parent
9778c0731c
commit
43755deb39
@ -25,7 +25,7 @@ export function stateActive(stateObj: HassEntity): boolean {
|
||||
case "person":
|
||||
return state !== "not_home";
|
||||
case "media-player":
|
||||
return state !== "idle";
|
||||
return state !== "idle" && state !== "standby";
|
||||
case "vacuum":
|
||||
return state === "on" || state === "cleaning";
|
||||
case "plant":
|
||||
|
Loading…
x
Reference in New Issue
Block a user