@hakit/core
Version:
A collection of React hooks and helpers for Home Assistant to easily communicate with the Home Assistant WebSocket API.
27 lines (26 loc) • 598 B
JavaScript
const r = (e) => {
switch (e) {
case "armed_away":
return "mdi:shield-lock";
case "armed_vacation":
return "mdi:shield-airplane";
case "armed_home":
return "mdi:shield-home";
case "armed_night":
return "mdi:shield-moon";
case "armed_custom_bypass":
return "mdi:security";
case "pending":
return "mdi:shield-outline";
case "triggered":
return "mdi:bell-ring";
case "disarmed":
return "mdi:shield-off";
default:
return "mdi:shield";
}
};
export {
r as alarmPanelIcon
};
//# sourceMappingURL=alarm.js.map