diff --git a/converters/fromZigbee.js b/converters/fromZigbee.js index f8ed84447cbee..7041c9534a4b4 100644 --- a/converters/fromZigbee.js +++ b/converters/fromZigbee.js @@ -2381,7 +2381,7 @@ const converters = { const current = msg.meta.zclTransactionSequenceNumber; if (last !== current && msg.data.hasOwnProperty('onOff')) { - store[msg.device.ieeeAddr] = last; + store[msg.device.ieeeAddr] = current; return {state: msg.data['onOff'] === 1 ? 'ON' : 'OFF'}; } },