Skip to content

Commit

Permalink
add support for generating emberAfBinaryInputBasicClusterServerInitCa…
Browse files Browse the repository at this point in the history
…llback

relies on project-chip/zap#154
  • Loading branch information
Dimitri Mizenko authored and vivien-apple committed May 20, 2021
1 parent 879c663 commit 6fab8b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/zap-templates/templates/app/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ function asChipUnderlyingType(label, type)

// List of all cluster with generated functions
var endpointClusterWithInit = [
'Air Pressure Measurement', 'Basic', 'Identify', 'Groups', 'Scenes', 'Occupancy Sensing', 'On/off', 'Level Control',
'Color Control', 'IAS Zone', 'Relative Humidity Measurement', 'Temperature Measurement'
'Air Pressure Measurement', 'Basic', 'Binary Input (Basic)', 'Identify', 'Groups', 'Scenes', 'Occupancy Sensing', 'On/off',
'Level Control', 'Color Control', 'IAS Zone', 'Relative Humidity Measurement', 'Temperature Measurement'
];
var endpointClusterWithAttributeChanged = [ 'Identify', 'Door Lock' ];
var endpointClusterWithPreAttribute = [ 'IAS Zone' ];
Expand All @@ -221,7 +221,7 @@ function chip_endpoint_generated_functions()
let alreadySetCluster = [];
let ret = '\\\n';
this.clusterList.forEach((c) => {
let clusterName = extract_cluster_name(c.comment);
let clusterName = c.clusterName;
let functionList = '';
if (alreadySetCluster.includes(clusterName)) {
// Only one array of Generated functions per cluster across all endpoints
Expand Down

0 comments on commit 6fab8b2

Please sign in to comment.