diff --git a/devices/schneider_electric.js b/devices/schneider_electric.js index b9829f94c51f0..8bb592ed875ec 100644 --- a/devices/schneider_electric.js +++ b/devices/schneider_electric.js @@ -439,10 +439,11 @@ module.exports = [ zigbeeModel: ['1GANG/SHUTTER/1'], model: 'MEG5113-0300/MEG5165-0000', vendor: 'Schneider Electric', - description: 'Merten PlusLink Shutter insert with Merten Wiser System M Push Button', + description: 'Merten MEG5165 PlusLink Shutter insert with Merten Wiser System M Push Button (1fold)', fromZigbee: [fz.cover_position_tilt, fz.command_cover_close, fz.command_cover_open, fz.command_cover_stop], - toZigbee: [tz.cover_position_tilt, tz.cover_state], - exposes: [e.cover_position()], + toZigbee: [tz.cover_position_tilt, tz.cover_state, tzLocal.lift_duration], + exposes: [e.cover_position(), exposes.numeric('lift_duration', ea.STATE_SET).withUnit('seconds') + .withValueMin(0).withValueMax(300).withDescription('Duration of lift')], meta: {coverInverted: true}, configure: async (device, coordinatorEndpoint, logger) => { const endpoint = device.getEndpoint(1) || device.getEndpoint(5);