@@ -1489,6 +1489,7 @@ const definitions: DefinitionWithExtend[] = [
1489
1489
ota : true ,
1490
1490
extend : [
1491
1491
m . deviceEndpoints ( { endpoints : { l1 : 1 } } ) ,
1492
+ m . commandsOnOff ( { commands : [ 'toggle' ] , endpointNames : [ 'l1' ] } ) ,
1492
1493
m . onOff ( ) ,
1493
1494
sonoffExtend . addCustomClusterEwelink ( ) ,
1494
1495
m . enumLookup ( {
@@ -1526,6 +1527,7 @@ const definitions: DefinitionWithExtend[] = [
1526
1527
ota : true ,
1527
1528
extend : [
1528
1529
m . deviceEndpoints ( { endpoints : { l1 : 1 , l2 : 2 } } ) ,
1530
+ m . commandsOnOff ( { commands : [ 'toggle' ] , endpointNames : [ 'l1' , 'l2' ] } ) ,
1529
1531
m . onOff ( { endpointNames : [ 'l1' , 'l2' ] } ) ,
1530
1532
sonoffExtend . addCustomClusterEwelink ( ) ,
1531
1533
m . enumLookup ( {
@@ -1567,6 +1569,7 @@ const definitions: DefinitionWithExtend[] = [
1567
1569
ota : true ,
1568
1570
extend : [
1569
1571
m . deviceEndpoints ( { endpoints : { l1 : 1 , l2 : 2 , l3 : 3 } } ) ,
1572
+ m . commandsOnOff ( { commands : [ 'toggle' ] , endpointNames : [ 'l1' , 'l2' , 'l3' ] } ) ,
1570
1573
m . onOff ( { endpointNames : [ 'l1' , 'l2' , 'l3' ] } ) ,
1571
1574
sonoffExtend . addCustomClusterEwelink ( ) ,
1572
1575
m . enumLookup ( {
0 commit comments