mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 01:06:35 +00:00
parent
85e900bf68
commit
7bf8ea9d0a
@ -20,7 +20,7 @@ const BUILT_IN_PANEL_ICONS = [
|
||||
"poll-box", // History panel
|
||||
"format-list-bulleted-type", // Logbook
|
||||
"mailbox", // Mailbox
|
||||
"account-location", // Map
|
||||
"tooltip-account", // Map
|
||||
"cart", // Shopping List
|
||||
];
|
||||
|
||||
|
@ -20,7 +20,7 @@ export default function binarySensorIcon(state: HassEntity) {
|
||||
case "problem":
|
||||
case "safety":
|
||||
case "smoke":
|
||||
return activated ? "hass:verified" : "hass:alert";
|
||||
return activated ? "hass:shield-check" : "hass:alert";
|
||||
case "heat":
|
||||
return activated ? "hass:thermometer" : "hass:fire";
|
||||
case "light":
|
||||
|
@ -135,7 +135,7 @@ export class HaStateLabelBadge extends hassLocalizeLitMixin(LitElement) {
|
||||
return "hass:weather-night";
|
||||
}
|
||||
if (state.state === "armed_custom_bypass") {
|
||||
return "hass:security-home";
|
||||
return "hass:shield-home";
|
||||
}
|
||||
if (state.state === "triggered") {
|
||||
return "hass:alert-circle";
|
||||
|
@ -81,7 +81,7 @@ export const demoPanels: Panels = {
|
||||
// },
|
||||
// map: {
|
||||
// component_name: "map",
|
||||
// icon: "hass:account-location",
|
||||
// icon: "hass:tooltip-account",
|
||||
// title: "map",
|
||||
// config: null,
|
||||
// url_path: "map",
|
||||
|
@ -24,11 +24,11 @@ import {
|
||||
} from "./hui-error-card";
|
||||
|
||||
const ICONS = {
|
||||
armed_away: "hass:security-lock",
|
||||
armed_away: "hass:shield-lock",
|
||||
armed_custom_bypass: "hass:security",
|
||||
armed_home: "hass:security-home",
|
||||
armed_night: "hass:security-home",
|
||||
disarmed: "hass:verified",
|
||||
armed_home: "hass:shield-home",
|
||||
armed_night: "hass:shield-home",
|
||||
disarmed: "hass:shield-check",
|
||||
pending: "hass:shield-outline",
|
||||
triggered: "hass:bell-ring",
|
||||
};
|
||||
|
@ -705,9 +705,9 @@
|
||||
strip-ansi "^3.0.1"
|
||||
|
||||
"@mdi/svg@^3.0.39":
|
||||
version "3.0.39"
|
||||
resolved "https://registry.yarnpkg.com/@mdi/svg/-/svg-3.0.39.tgz#6a2d50e5650f758a3a8f6ab294cd272c9408fcda"
|
||||
integrity sha512-kX1CeG+6r9t0ickn+RwxAtIcO6WVZ7v3ashWJ4WRKd68O7WyUTJuqfzdMjHtVtKn5k4ItrZDo9sf1NflWrX+tQ==
|
||||
version "3.3.92"
|
||||
resolved "https://registry.yarnpkg.com/@mdi/svg/-/svg-3.3.92.tgz#40a12670c46ed7673943b219e8410f90d0996e64"
|
||||
integrity sha512-281S4dn6evXoT8b2yhTooYLiX53PBr7Z+A5snuoz6HspGrL6JSvedX2o7WhO6Cjt8aOi869HKNNZ/O7nUXrSsA==
|
||||
|
||||
"@mrmlnc/readdir-enhanced@^2.2.1":
|
||||
version "2.2.1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user