Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Keen Home smart vent #276

Merged
merged 18 commits into from
Feb 23, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
- added transtime to cover_position.set
- changed key to state for cover_position
  • Loading branch information
Joe Lu committed Feb 18, 2019
commit d7846a6349de284674d957cd8ba528e4589fc4bf
3 changes: 2 additions & 1 deletion converters/toZigbee.js
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@ const converters = {
},
},
cover_position: {
key: ['position'],
key: ['state'],
convert: (key, value, message, type, postfix) => {
const cid = 'genLevelCtrl';
const attrId = 'currentLevel';
Expand All @@ -1184,6 +1184,7 @@ const converters = {
cmdType: 'functional',
zclData: {
level: value,
transtime: 0,
},
cfg: cfg.default,
readAfterWriteTime: 0,
Expand Down