From d121c1cd18d80e58ec5de1e07cadf79b3e0b0e6e Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Wed, 14 Dec 2022 09:44:43 +0100 Subject: [PATCH] Classify binary sensor locks active state as alert (= red) (#14761) fixes undefined --- src/common/entity/color/binary_sensor_color.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/entity/color/binary_sensor_color.ts b/src/common/entity/color/binary_sensor_color.ts index f3458214fd..90f7247be4 100644 --- a/src/common/entity/color/binary_sensor_color.ts +++ b/src/common/entity/color/binary_sensor_color.ts @@ -6,6 +6,7 @@ const ALERTING_DEVICE_CLASSES = new Set([ "carbon_monoxide", "gas", "heat", + "lock", "moisture", "problem", "safety",