diff --git a/src/devices/index.ts b/src/devices/index.ts index 810a0e2992f4e..0cbecfef0af68 100644 --- a/src/devices/index.ts +++ b/src/devices/index.ts @@ -248,6 +248,7 @@ import smartwings from './smartwings'; import smlight from './smlight'; import sohan_electric from './sohan_electric'; import solaredge from './solaredge'; +import soma from './soma'; import somfy from './somfy'; import somgoms from './somgoms'; import sonoff from './sonoff'; @@ -552,6 +553,7 @@ export default [ ...smlight, ...sohan_electric, ...solaredge, + ...soma, ...somfy, ...somgoms, ...sonoff, diff --git a/src/devices/soma.ts b/src/devices/soma.ts new file mode 100644 index 0000000000000..ee8ccb11dbdc9 --- /dev/null +++ b/src/devices/soma.ts @@ -0,0 +1,15 @@ +import {battery, windowCovering} from '../lib/modernExtend'; +import {Definition} from '../lib/types'; + +const definitions: Definition[] = [ + { + zigbeeModel: ['SmartShades3'], + model: 'SmartShades3', + vendor: 'SOMA', + description: 'Smart shades 3', + extend: [battery(), windowCovering({controls: ['lift', 'tilt']})], + }, +]; + +export default definitions; +module.exports = definitions;