Skip to content

Commit

Permalink
feat: Expose power outage memory for Mercator Ikuü SPP02GIP (#6159)
Browse files Browse the repository at this point in the history
The SPP02GIP is the exterior version of the SPP02G. Power outage memory was added to SPP02G in #5968
  • Loading branch information
georg authored Sep 14, 2023
1 parent b0bd90c commit b92fdd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/mercator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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};
},
Expand Down

0 comments on commit b92fdd9

Please sign in to comment.