Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/devices/moes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1712,4 +1712,11 @@ export const definitions: DefinitionWithExtend[] = [
await reporting.bind(device.getEndpoint(2), coordinatorEndpoint, ["genOnOff"]);
},
},
{
fingerprint: tuya.fingerprint("TS0001", ["_TZ3000_x8mbwtsz"]),
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be merged with TS0001_power in tuya.ts?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, I think that could work.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you update this PR with that?

model: "ZM-104-M-16AM",
vendor: "Moes",
description: "1-gang switch module with electricity measurement",
extend: [m.onOff({powerOnBehavior: false}), m.electricityMeter()],
},
];