diff --git a/src/lib/lumi.ts b/src/lib/lumi.ts index 6f18ce12badd8..5120347721264 100644 --- a/src/lib/lumi.ts +++ b/src/lib/lumi.ts @@ -800,10 +800,6 @@ export const numericAttributes2Payload = async (msg: Fz.Message, meta: Fz.Meta, // This is a a complete structure with attributes, like element 0 for state, element 1 for voltage... // At this moment we only extract what we are sure, for example, position 0 seems to be always 1 for a // occupancy sensor, so we ignore it at this moment - if (['MCCGQ01LM'].includes(model.model)) { - // @ts-expect-error - payload.contact = value[0].elmVal === 0; - } // @ts-expect-error payload.voltage = value[1].elmVal; if (model.meta && model.meta.battery && model.meta.battery.voltageToPercentage) {