From b92fdd97cfbfb02597d5d1bcb67465305ccda480 Mon Sep 17 00:00:00 2001 From: Georg Friedrich Date: Fri, 15 Sep 2023 03:51:17 +1000 Subject: [PATCH] =?UTF-8?q?feat:=20Expose=20power=20outage=20memory=20for?= =?UTF-8?q?=20Mercator=20Iku=C3=BC=20SPP02GIP=20(#6159)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The SPP02GIP is the exterior version of the SPP02G. Power outage memory was added to SPP02G in #5968 --- src/devices/mercator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/mercator.ts b/src/devices/mercator.ts index 0319db0086f69..ae325aa6440dc 100644 --- a/src/devices/mercator.ts +++ b/src/devices/mercator.ts @@ -126,7 +126,7 @@ const definitions: Definition[] = [ extend: tuya.extend.switch({powerOutageMemory: true, electricalMeasurements: true, endpoints: ['left', 'right']}), exposes: [e.switch().withEndpoint('left'), e.switch().withEndpoint('right'), e.power().withEndpoint('left'), e.current().withEndpoint('left'), - e.voltage().withEndpoint('left').withAccess(ea.STATE), e.energy()], + e.voltage().withEndpoint('left').withAccess(ea.STATE), e.energy(), tuya.exposes.powerOutageMemory()], endpoint: (device) => { return {left: 1, right: 2}; },