Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Nordtronic devices #7563

Merged
merged 2 commits into from
May 27, 2024
Merged
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
27 changes: 24 additions & 3 deletions src/devices/nordtronic.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
import {Definition} from '../lib/types';
import {light, onOff, electricityMeter} from '../lib/modernExtend';
import {
light,
onOff,
electricityMeter,
battery,
identify,
commandsOnOff,
commandsLevelCtrl,
commandsColorCtrl,
} from '../lib/modernExtend';

const definitions: Definition[] = [
{
fingerprint: [
{modelID: 'WSZ 98426061', manufacturerName: 'Nordtronic A/S'},
{modelID: 'WSZ 98426061', manufacturerName: 'Nordtronic'},
{modelID: '98426061', manufacturerName: 'Nordtronic A/S'},
{modelID: '98426061', manufacturerName: 'Nordtronic'},
],
model: '98426061',
vendor: 'Nordtronic',
description: 'Remote Control',
extend: [battery(), identify(), commandsOnOff(), commandsLevelCtrl(), commandsColorCtrl()],
},
{
zigbeeModel: ['BoxDIM2 98425031', '98425031', 'BoxDIMZ 98425031'],
model: '98425031',
Expand All @@ -10,14 +31,14 @@ const definitions: Definition[] = [
extend: [light({configureReporting: true})],
},
{
zigbeeModel: ['BoxRelayZ 98423051'],
zigbeeModel: ['BoxRelay2 98423051', '98423051', 'BoxRelayZ 98423051'],
model: '98423051',
vendor: 'Nordtronic',
description: 'Zigbee switch 400W',
extend: [onOff()],
},
{
zigbeeModel: ['RotDIMZ 98424072'],
zigbeeModel: ['RotDIM2 98424072', '98424072', 'RotDIMZ 98424072'],
model: '98424072',
vendor: 'Nordtronic',
description: 'Zigbee rotary dimmer',
Expand Down
Loading