Skip to content

Commit

Permalink
fix: Fix Lonsonho QS-Zigbee-C01 calibration_time Koenkk/zigbee2mqtt…
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Aug 14, 2024
1 parent f5ab382 commit e8d133a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/devices/lonsonho.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ const definitions: Definition[] = [
vendor: 'Lonsonho',
description: 'Curtain/blind motor controller',
fromZigbee: [fz.cover_position_tilt, fz.tuya_cover_options],
toZigbee: [tz.cover_state, tz.cover_position_tilt, tz.tuya_cover_calibration, tz.tuya_cover_reversal],
toZigbee: [tz.cover_state, tz.cover_position_tilt, tz.moes_cover_calibration, tz.tuya_cover_calibration, tz.tuya_cover_reversal],
meta: {coverInverted: true},
exposes: [
e.cover_position(),
e.enum('moving', ea.STATE, ['UP', 'STOP', 'DOWN']),
e.binary('calibration', ea.ALL, 'ON', 'OFF'),
e.binary('motor_reversal', ea.ALL, 'ON', 'OFF'),
e.numeric('calibration_time', ea.STATE).withUnit('s').withDescription('Calibration time'),
e.numeric('calibration_time', ea.ALL).withUnit('s').withValueMin(0).withValueMax(100).withDescription('Calibration time'),
],
},
{
Expand Down

0 comments on commit e8d133a

Please sign in to comment.