We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82440b5 commit dac2ae1Copy full SHA for dac2ae1
1 file changed
src/devices/silicon_labs.ts
@@ -1,12 +1,11 @@
1
-import * as m from "../lib/modernExtend";
2
-import type {DefinitionWithExtend} from "../lib/types";
+import * as m from 'zigbee-herdsman-converters/lib/modernExtend';
+
3
+export default {
4
+ zigbeeModel: ['TS0601'],
5
+ model: 'TS0601',
6
+ vendor: '_TZE28C1000000_alh14edn',
7
+ description: 'Automatically generated definition',
8
+ extend: [m.battery()],
9
+};
10
-export const definitions: DefinitionWithExtend[] = [
- {
- zigbeeModel: ["RB-ElectricityDsp-061-3"],
- model: "RB-ElectricityDsp-061-3",
- vendor: "Silicon Labs",
- description: "Electricity meter",
- extend: [m.onOff({powerOnBehavior: false}), m.electricityMeter()],
11
- },
12
];
0 commit comments