Skip to content

Commit

Permalink
feat(add): SmartShades3 @ratsept Koenkk/zigbee2mqtt#23287
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Jul 9, 2024
1 parent ba04002 commit 6eeb4a9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/devices/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -552,6 +553,7 @@ export default [
...smlight,
...sohan_electric,
...solaredge,
...soma,
...somfy,
...somgoms,
...sonoff,
Expand Down
15 changes: 15 additions & 0 deletions src/devices/soma.ts
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 6eeb4a9

Please sign in to comment.