Support no security panel

This commit is contained in:
tsightler
2026-03-08 23:41:39 -04:00
parent fcee079c46
commit 514ddee10b
+1 -1
View File
@@ -340,7 +340,7 @@ export default new class RingMqtt {
case RingDeviceType.FloodFreezeSensor:
return new FloodFreezeSensor(deviceInfo)
case RingDeviceType.SecurityPanel:
if (deviceInfo.supportedAlarmTypes?.includes('burglar-alarm')) {
if (device.data.supportedAlarmTypes?.includes('burglar-alarm')) {
deviceInfo.bypassCapableDevices = allDevices.filter(device =>
device.deviceType === RingDeviceType.ContactSensor ||
device.deviceType === RingDeviceType.RetrofitZone ||