diff --git a/src/devices/somfy.ts b/src/devices/somfy.ts new file mode 100644 index 0000000000000..2c0a3d7992902 --- /dev/null +++ b/src/devices/somfy.ts @@ -0,0 +1,20 @@ +import {Definition} from '../lib/types'; +import fz from '../converters/fromZigbee'; +import tz from '../converters/toZigbee'; +import * as exposes from '../lib/exposes'; + +const e = exposes.presets; + +const definitions: Definition[] = [ + { + zigbeeModel: ['Sonesse Ultra 30 WF Li-Ion Rolle'], + model: 'SOMFY-1241752', + vendor: 'SOMFY', + description: 'Blinds from vendors using this roller', + fromZigbee: [fz.battery, fz.power_source, fz.cover_position_tilt], + toZigbee: [tz.cover_state, tz.cover_position_tilt], + exposes: [e.cover_position()], + }, +]; + +module.exports = definitions;