Skip to content

Commit

Permalink
fix(ignore): Lowercase some Mercator Ikuü descriptions. #5871
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Jun 12, 2023
1 parent f5502a7 commit 0479cbd
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/devices/mercator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const definitions: Definition[] = [
fingerprint: [{modelID: 'TS011F', manufacturerName: '_TZ3210_yvxjawlt'}],
model: 'SPP04G',
vendor: 'Mercator Ikuü',
description: 'Quad Power Point',
description: 'Quad power point',
extend: tuya.extend.switch({powerOutageMemory: true, electricalMeasurements: true, endpoints: ['left', 'right']}),
exposes: [e.switch().withEndpoint('left'), e.switch().withEndpoint('right'),
e.power().withEndpoint('left'), e.current().withEndpoint('left'),
Expand All @@ -34,7 +34,7 @@ const definitions: Definition[] = [
fingerprint: [{modelID: 'TS0202', manufacturerName: '_TYZB01_qjqgmqxr'}],
model: 'SMA02P',
vendor: 'Mercator Ikuü',
description: 'Motion Detector',
description: 'Motion detector',
fromZigbee: [fz.ias_occupancy_alarm_1, fz.battery, fz.ignore_basic_report, fz.ias_occupancy_alarm_1_report],
toZigbee: [],
exposes: [e.occupancy(), e.battery_low(), e.tamper(), e.battery(), e.battery_voltage()],
Expand All @@ -50,7 +50,7 @@ const definitions: Definition[] = [
fingerprint: [{modelID: 'TS0201', manufacturerName: '_TZ3000_82ptnsd4'}],
model: 'SMA03P',
vendor: 'Mercator Ikuü',
description: 'Environmental Sensor',
description: 'Environmental sensor',
fromZigbee: [fz.battery, fz.temperature, fz.humidity],
toZigbee: [],
exposes: [e.battery(), e.temperature(), e.humidity(), e.battery_voltage()],
Expand All @@ -60,7 +60,7 @@ const definitions: Definition[] = [
fingerprint: [{modelID: 'TS0203', manufacturerName: '_TZ3000_wbrlnkm9'}],
model: 'SMA04P',
vendor: 'Mercator Ikuü',
description: 'Contact Sensor',
description: 'Contact sensor',
fromZigbee: [fz.ias_contact_alarm_1, fz.battery, fz.ignore_basic_report, fz.ias_contact_alarm_1_report],
toZigbee: [],
exposes: [e.contact(), e.battery_low(), e.tamper(), e.battery(), e.battery_voltage()],
Expand All @@ -77,21 +77,21 @@ const definitions: Definition[] = [
fingerprint: [{modelID: 'TS0502B', manufacturerName: '_TZ3000_6dwfra5l'}],
model: 'SMCL01-ZB',
vendor: 'Mercator Ikuü',
description: 'Ikon Ceiling Light',
description: 'Ikon ceiling light',
extend: tuya.extend.light_onoff_brightness_colortemp({colorTempRange: [153, 500]}),
},
{
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3000_xr5m6kfg'}],
model: 'SMD4109W-RGB-ZB',
vendor: 'Mercator Ikuü',
description: '92mm Walter Downlight RGB + CCT',
description: '92mm Walter downlight RGB + CCT',
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
},
{
fingerprint: [{modelID: 'TS011F', manufacturerName: '_TZ3210_raqjcxo5'}],
model: 'SPP02G',
vendor: 'Mercator Ikuü',
description: 'Double Power Point',
description: 'Double power point',
extend: tuya.extend.switch({powerOutageMemory: true, electricalMeasurements: true, endpoints: ['left', 'right']}),
exposes: [e.switch().withEndpoint('left'), e.switch().withEndpoint('right'),
e.power().withEndpoint('left'), e.current().withEndpoint('left'),
Expand Down Expand Up @@ -122,7 +122,7 @@ const definitions: Definition[] = [
fingerprint: [{modelID: 'TS011F', manufacturerName: '_TZ3210_7jnk7l3k'}],
model: 'SPP02GIP',
vendor: 'Mercator Ikuü',
description: 'Double Power Point IP54',
description: 'Double power point IP54',
extend: tuya.extend.switch({powerOutageMemory: true, electricalMeasurements: true, endpoints: ['left', 'right']}),
exposes: [e.switch().withEndpoint('left'), e.switch().withEndpoint('right'),
e.power().withEndpoint('left'), e.current().withEndpoint('left'),
Expand Down Expand Up @@ -153,7 +153,7 @@ const definitions: Definition[] = [
fingerprint: [{modelID: 'TS0013', manufacturerName: '_TZ3000_khtlvdfc'}],
model: 'SSW03G',
vendor: 'Mercator Ikuü',
description: 'Triple Switch',
description: 'Triple switch',
extend: tuya.extend.switch({backlightModeLowMediumHigh: true, endpoints: ['left', 'center', 'right']}),
endpoint: (device) => {
return {'left': 1, 'center': 2, 'right': 3};
Expand All @@ -174,7 +174,7 @@ const definitions: Definition[] = [
{modelID: 'TS0501', manufacturerName: '_TZ3210_4whigl8i'}],
model: 'SSWF01G',
vendor: 'Mercator Ikuü',
description: 'AC Fan Controller',
description: 'AC fan controller',
fromZigbee: [fz.on_off, fz.fan],
toZigbee: [tz.fan_mode, tz.on_off],
exposes: [e.switch(), e.fan().withModes(['off', 'low', 'medium', 'high', 'on'])],
Expand All @@ -194,7 +194,7 @@ const definitions: Definition[] = [
fingerprint: [{modelID: 'TS011F', manufacturerName: '_TZ3210_pfbzs1an'}],
model: 'SPPUSB02',
vendor: 'Mercator Ikuü',
description: 'Double Power Point with USB',
description: 'Double power point with USB',
extend: tuya.extend.switch({powerOutageMemory: true, electricalMeasurements: true, endpoints: ['left', 'right']}),
exposes: [
e.switch().withEndpoint('left'), e.switch().withEndpoint('right'),
Expand Down

0 comments on commit 0479cbd

Please sign in to comment.