From 7607c150c4de35fc026f4985e59109205f5ea6ee Mon Sep 17 00:00:00 2001 From: Ilya Kirov Date: Wed, 6 Dec 2023 19:35:27 +0300 Subject: [PATCH] fix interlock for Aqara dual relay module T2 https://github.com/Koenkk/zigbee2mqtt/issues/18856 --- src/devices/xiaomi.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/xiaomi.ts b/src/devices/xiaomi.ts index a8d7a913cfdee..1a2ab419c6026 100644 --- a/src/devices/xiaomi.ts +++ b/src/devices/xiaomi.ts @@ -2662,8 +2662,8 @@ const definitions: Definition[] = [ xiaomiAction({postfixWithEndpointName: true}), binary({ name: 'interlock', - valueOn: ['ON', true], - valueOff: ['OFF', false], + valueOn: ['ON', 1], + valueOff: ['OFF', 0], cluster: 'aqaraOpple', attribute: {id: 0x02d0, type: 0x10}, description: 'Enabling prevents both relays being on at the same time (Interlock)',