Align domain icon for person and device_tracker when away (#14652)

This commit is contained in:
Philip Allgaier 2022-12-13 09:59:26 +01:00 committed by GitHub
parent c1dba217da
commit 180357e0db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,6 +180,9 @@ export const domainIconWithoutDefault = (
}
}
case "person":
return compareState === "not_home" ? mdiAccountArrowRight : mdiAccount;
case "switch":
switch (stateObj?.attributes.device_class) {
case "outlet":