@@ -654,7 +654,7 @@ export function commandsOnOff(args: CommandsOnOffArgs = {}): ModernExtend {
654654 if ( endpointNames ) {
655655 actions = commands . flatMap ( ( c ) => endpointNames . map ( ( e ) => `${ c } _${ e } ` ) ) ;
656656 }
657- const exposes : Expose [ ] = [ e . action ( actions ) ] ;
657+ const exposes : Expose [ ] = [ e . action ( actions ) , e . action_group ( ) ] ;
658658
659659 const actionPayloadLookup : KeyValueString = {
660660 commandOn : "on" ,
@@ -1379,7 +1379,7 @@ export function commandsLevelCtrl(args: CommandsLevelCtrl = {}): ModernExtend {
13791379 if ( endpointNames ) {
13801380 actions = commands . flatMap ( ( c ) => endpointNames . map ( ( e ) => `${ c } _${ e } ` ) ) ;
13811381 }
1382- const exposes : Expose [ ] = [ e . action ( actions ) ] ;
1382+ const exposes : Expose [ ] = [ e . action ( actions ) , e . action_group ( ) ] ;
13831383
13841384 if ( commands . includes ( "brightness_move_to_level" ) ) {
13851385 exposes . push ( e . action_level ( ) ) ;
@@ -1460,7 +1460,7 @@ export function commandsColorCtrl(args: CommandsColorCtrl = {}): ModernExtend {
14601460 if ( endpointNames ) {
14611461 actions = commands . flatMap ( ( c ) => endpointNames . map ( ( e ) => `${ c } _${ e } ` ) ) ;
14621462 }
1463- const exposes : Expose [ ] = [ e . action ( actions ) ] ;
1463+ const exposes : Expose [ ] = [ e . action ( actions ) , e . action_group ( ) ] ;
14641464
14651465 // TODO: e.action_hue, e.action_enhanced_hue, e.action_direction, e.action_saturation,
14661466 // e.action_color, e.action_stepx, e.action_stepy, e.action_colortemp, e.action_minimum, e.action_maximum etc.
@@ -1673,7 +1673,7 @@ export function commandsWindowCovering(args: CommandsWindowCoveringArgs = {}): M
16731673 if ( endpointNames ) {
16741674 actions = commands . flatMap ( ( c ) => endpointNames . map ( ( e ) => `${ c } _${ e } ` ) ) ;
16751675 }
1676- const exposes : Expose [ ] = [ e . action ( actions ) ] ;
1676+ const exposes : Expose [ ] = [ e . action ( actions ) , e . action_group ( ) ] ;
16771677
16781678 const actionPayloadLookup : KeyValueString = {
16791679 commandUpOpen : "open" ,
@@ -2614,7 +2614,7 @@ export function commandsScenes(args: CommandsScenesArgs = {}) {
26142614 if ( endpointNames ) {
26152615 actions = commands . flatMap ( ( c ) => endpointNames . map ( ( e ) => `${ c } _${ e } ` ) ) ;
26162616 }
2617- const exposesArray = [ e . action ( actions ) ] ;
2617+ const exposesArray = [ e . action ( actions ) , e . action_group ( ) ] ;
26182618
26192619 const actionPayloadLookup : { [ key : string ] : string } = {
26202620 commandRecall : "recall" ,
@@ -3103,7 +3103,7 @@ export function actionEnumLookup<
31033103 } satisfies Fz . Converter < Cl , Custom , Cos extends undefined ? [ "attributeReport" , "readResponse" ] : Cos > ,
31043104 ] ;
31053105
3106- return { exposes : [ expose ] , fromZigbee, isModernExtend : true } ;
3106+ return { exposes : [ expose , e . action_group ( ) ] , fromZigbee, isModernExtend : true } ;
31073107}
31083108
31093109export interface QuirkAddEndpointClusterArgs {
0 commit comments