From 4909f820dda1ec206f50d44dae35523c48f0e923 Mon Sep 17 00:00:00 2001 From: acesyde Date: Sat, 16 Apr 2022 08:53:06 +0200 Subject: [PATCH] fix(alarm): available --- src/cards/alarm-control-panel-card/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cards/alarm-control-panel-card/utils.ts b/src/cards/alarm-control-panel-card/utils.ts index 6b44fa640..a7316852e 100644 --- a/src/cards/alarm-control-panel-card/utils.ts +++ b/src/cards/alarm-control-panel-card/utils.ts @@ -22,7 +22,7 @@ export function shouldPulse(state: string): boolean { } export function isActionsAvailable(entity: HassEntity) { - return UNAVAILABLE === entity.state; + return UNAVAILABLE !== entity.state; } export function isDisarmed(entity: HassEntity) {