Skip to content

Commit

Permalink
fix(ignore): fix 803c995
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Oct 12, 2023
1 parent 6e5e81d commit ea15a0e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/devices/inovelli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,13 @@ const fzLocal = {
const action = clickLookup[msg.data[6]];
return {action: `${button}_${action}`};
} else if (msg.type === 'readResponse') {
return msg.data;
return Object.fromEntries(Object.entries(msg.data).map((v) => {
const attr = ATTRIBUTES[v[0]];
if (attr.values) {
v[1] = utils.getKey(attr.values, v[1]);
}
return v;
}));
}
},
} as Fz.Converter,
Expand Down

0 comments on commit ea15a0e

Please sign in to comment.