From 0b135fb53391ae922fa91aed8e2c02e3a27ee665 Mon Sep 17 00:00:00 2001 From: pomeloy <45542782+pomeloy@users.noreply.github.com> Date: Fri, 30 Jun 2023 18:51:43 +0200 Subject: [PATCH] Fix naming inconsistency for vendor LED-Trading --- src/devices/enocean.ts | 2 +- src/devices/led_trading.ts | 8 ++++---- src/devices/sunricher.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/devices/enocean.ts b/src/devices/enocean.ts index d0848c04ad28a..900b7da0188e3 100644 --- a/src/devices/enocean.ts +++ b/src/devices/enocean.ts @@ -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'}, ], }, diff --git a/src/devices/led_trading.ts b/src/devices/led_trading.ts index 90a55ffef0389..10daef62e6b6a 100644 --- a/src/devices/led_trading.ts +++ b/src/devices/led_trading.ts @@ -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: [], @@ -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) => { @@ -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'), @@ -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], diff --git a/src/devices/sunricher.ts b/src/devices/sunricher.ts index 8ccb3be3d4712..65a12a417f3c0 100644 --- a/src/devices/sunricher.ts +++ b/src/devices/sunricher.ts @@ -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) => {