Skip to content
Open
Changes from all 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
19 changes: 9 additions & 10 deletions src/devices/silicon_labs.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import * as m from "../lib/modernExtend";
import type {DefinitionWithExtend} from "../lib/types";
import * as m from 'zigbee-herdsman-converters/lib/modernExtend';

export default {
zigbeeModel: ['TS0601'],
model: 'TS0601',
vendor: '_TZE28C1000000_alh14edn',
description: 'Automatically generated definition',
extend: [m.battery()],

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Only battery is exposed, what kind of device is this?

};

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()],
},
];

Check failure on line 11 in src/devices/silicon_labs.ts

View workflow job for this annotation

GitHub Actions / ci

Declaration or statement expected.
Loading