File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
src-electron/generator/matter/controller/java/templates Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ const zclUtil = require(zapPath + 'util/zcl-util.js');
2828
2929const characterStringTypes = [ 'CHAR_STRING' , 'LONG_CHAR_STRING' ] ;
3030const octetStringTypes = [ 'OCTET_STRING' , 'LONG_OCTET_STRING' ] ;
31- const basicAttributeExceptionList = [ 'vendor_id' ] ;
3231
3332function convertBasicCTypeToJavaType ( cType ) {
3433 switch ( cType ) {
@@ -444,12 +443,7 @@ function incrementDepth(depth) {
444443 */
445444async function if_basic_attribute ( type , clusterId , options ) {
446445 let struct = null ;
447- if (
448- this . isNullable ||
449- this . isOptional ||
450- this . isArray ||
451- basicAttributeExceptionList . includes ( type )
452- ) {
446+ if ( this . isNullable || this . isOptional || this . isArray ) {
453447 return options . inverse ( this ) ;
454448 } else {
455449 let packageIds = await templateUtil . ensureZclPackageIds ( this ) ;
You can’t perform that action at this time.
0 commit comments