Skip to content

Commit

Permalink
Lonsonho 11830304 support calibration, backlight_mode and motor_rever…
Browse files Browse the repository at this point in the history
…sal (#1950)
  • Loading branch information
Vladimirov71 authored Dec 21, 2020
1 parent 454fea4 commit f55e9a0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -1748,10 +1748,13 @@ const devices = [
model: '11830304',
vendor: 'Lonsonho',
description: 'Curtain switch',
fromZigbee: [fz.cover_position_tilt, fz.ignore_basic_report],
toZigbee: [tz.cover_state, tz.cover_position_tilt],
fromZigbee: [fz.cover_position_tilt, fz.tuya_backlight_mode, fz.tuya_cover_options],
toZigbee: [tz.cover_state, tz.cover_position_tilt, tz.tuya_cover_calibration, tz.tuya_cover_reversal, tz.tuya_backlight_mode],
meta: {configureKey: 1, coverInverted: true},
exposes: [e.cover_position()],
exposes: [e.cover_position(), exposes.enum('moving', exposes.access.STATE, ['UP', 'STOP', 'DOWN']),
exposes.binary('calibration', exposes.access.ALL, 'ON', 'OFF'),
exposes.enum('backlight_mode', exposes.access.ALL, ['LOW', 'MEDIUM', 'HIGH']),
exposes.binary('motor_reversal', exposes.access.ALL, 'ON', 'OFF')],
},
{
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_8vxj8khv'}, {modelID: 'TS0601', manufacturerName: '_TZE200_7tdtqgwv'}],
Expand Down

0 comments on commit f55e9a0

Please sign in to comment.