Skip to content

Commit

Permalink
Support Home Assistant discovery for composite. Koenkk/zigbee-herdsma…
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Dec 8, 2020
1 parent 743c701 commit c78206b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/extension/homeassistant.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ class HomeAssistant extends Extension {
...lookup[expose.name],
},
};
} else if (expose.type === 'enum' || expose.type === 'text') {
} else if (expose.type === 'enum' || expose.type === 'text' || expose.type === 'composite') {
const ACCESS_STATE = 1;
if (expose.access & ACCESS_STATE) {
const lookup = {
Expand Down

0 comments on commit c78206b

Please sign in to comment.