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

Fix naming inconsistency for vendor LED-Trading #5931

Merged
merged 1 commit into from
Jun 30, 2023
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/devices/enocean.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const definitions: Definition[] = [
{vendor: 'NodOn', description: 'Smart switch for Philips Hue', model: 'CWS-4-1-01_HUE'},
{vendor: 'Vimar', description: 'Zigbee Friends of Hue RF switch', model: '03906'},
{vendor: 'Sunricher', model: 'SR-ZGP2801K4-FOH-E'},
{vendor: 'LED Trading', model: '9125'},
{vendor: 'LED-Trading', model: '9125'},
{vendor: 'Feller', description: 'Smart light control for Philips Hue', model: '4120.2.S.FMI.61'},
],
},
Expand Down
8 changes: 4 additions & 4 deletions src/devices/led_trading.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const definitions: Definition[] = [
{
fingerprint: [{modelID: 'GreenPower_2', ieeeAddr: /^0x00000000427.....$/}],
model: '9133',
vendor: 'Led Trading',
vendor: 'LED-Trading',
description: 'Pushbutton transmitter module',
fromZigbee: [fzLocal.led_trading_9133],
toZigbee: [],
Expand All @@ -39,7 +39,7 @@ const definitions: Definition[] = [
{
zigbeeModel: ['HK-LN-DIM-A'],
model: 'HK-LN-DIM-A',
vendor: 'LED Trading',
vendor: 'LED-Trading',
description: 'ZigBee AC phase-cut dimmer',
extend: extend.light_onoff_brightness({noConfigure: true}),
configure: async (device, coordinatorEndpoint, logger) => {
Expand All @@ -52,7 +52,7 @@ const definitions: Definition[] = [
{
zigbeeModel: ['HK-LN-SOCKET-A'],
model: '9134',
vendor: 'LED Trading',
vendor: 'LED-Trading',
description: 'Powerstrip with 4 sockets and USB',
extend: extend.switch(),
exposes: [e.switch().withEndpoint('l1'), e.switch().withEndpoint('l2'),
Expand All @@ -72,7 +72,7 @@ const definitions: Definition[] = [
{
zigbeeModel: ['HK-ZCC-ZLL-A'],
model: '9135',
vendor: 'LED Trading',
vendor: 'LED-Trading',
description: 'Curtain motor controller',
fromZigbee: [fz.cover_position_tilt],
toZigbee: [tz.cover_state, tz.cover_position_tilt],
Expand Down
2 changes: 1 addition & 1 deletion src/devices/sunricher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const definitions: Definition[] = [
zigbeeModel: ['ON/OFF(2CH)'],
model: 'UP-SA-9127D',
vendor: 'Sunricher',
description: 'LED-trading 2 channel AC switch',
description: 'LED-Trading 2 channel AC switch',
extend: extend.switch(),
exposes: [e.switch().withEndpoint('l1'), e.switch().withEndpoint('l2')],
endpoint: (device) => {
Expand Down