Fix binary sensor device trigger for lock class (#95505)

This commit is contained in:
Raman Gupta
2023-06-29 12:29:27 -04:00
committed by GitHub
parent 23e23ae80e
commit 1f840db333

View File

@@ -112,8 +112,8 @@ ENTITY_TRIGGERS = {
{CONF_TYPE: CONF_NO_LIGHT},
],
BinarySensorDeviceClass.LOCK: [
{CONF_TYPE: CONF_LOCKED},
{CONF_TYPE: CONF_NOT_LOCKED},
{CONF_TYPE: CONF_LOCKED},
],
BinarySensorDeviceClass.MOISTURE: [
{CONF_TYPE: CONF_MOIST},