Skip to content

Commit 94c3458

Browse files
encryptixautofix-ci[bot]Koenkk
authored
feat(add): ZDM150 (#8860)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Koen Kanters <[email protected]>
1 parent a9083f3 commit 94c3458

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/devices/enkin.ts

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import {forcePowerSource, light} from "../lib/modernExtend";
2+
import type {DefinitionWithExtend} from "../lib/types";
3+
4+
export const definitions: DefinitionWithExtend[] = [
5+
{
6+
zigbeeModel: ["ZDM150"],
7+
model: "ZDM150",
8+
vendor: "Enkin",
9+
description: "150W Dimmer module",
10+
extend: [light({powerOnBehavior: false, effect: false, configureReporting: true}), forcePowerSource({powerSource: "Mains (single phase)"})],
11+
},
12+
];

src/devices/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ import {definitions as efekta} from "./efekta";
7676
import {definitions as eglo} from "./eglo";
7777
import {definitions as elko} from "./elko";
7878
import {definitions as enbrighten} from "./enbrighten";
79+
import {definitions as enkin} from "./enkin";
7980
import {definitions as enocean} from "./enocean";
8081
import {definitions as envilar} from "./envilar";
8182
import {definitions as essentialb} from "./essentialb";
@@ -400,6 +401,7 @@ export default [
400401
...elko,
401402
...enbrighten,
402403
...enocean,
404+
...enkin,
403405
...envilar,
404406
...essentialb,
405407
...essentials,

0 commit comments

Comments
 (0)