@hakit/core
Version:
A collection of React hooks and helpers for Home Assistant to easily communicate with the Home Assistant WebSocket API.
17 lines (16 loc) • 551 B
JavaScript
const n = "unavailable", t = "unknown", F = "on", N = "off", T = "°C", S = "°F", I = /* @__PURE__ */ new Set(["camera", "image", "media_player"]), O = ["on", "off", n, t], o = (s) => (a, c) => s.includes(a, c), e = [n, t], A = [n, t, "off"], _ = o(e), i = o(A);
export {
O as DEFAULT_STATES,
I as DOMAINS_WITH_DYNAMIC_PICTURE,
N as OFF,
A as OFF_STATES,
F as ON,
n as UNAVAILABLE,
e as UNAVAILABLE_STATES,
T as UNIT_C,
S as UNIT_F,
t as UNKNOWN,
i as isOffState,
_ as isUnavailableState
};
//# sourceMappingURL=entity.js.map