@@ -4521,4 +4521,61 @@ export const definitions: DefinitionWithExtend[] = [
4521
4521
lumiMultiClick ( { description : "Multi-click mode for right down button" , endpointName : "right_down" } ) ,
4522
4522
] ,
4523
4523
} ,
4524
+ {
4525
+ zigbeeModel : [ "lumi.switch.agl011" ] ,
4526
+ model : "KD-R01D" ,
4527
+ vendor : "Aqara" ,
4528
+ description : "Dimmer switch H2 EU" ,
4529
+ extend : [
4530
+ lumiZigbeeOTA ( ) ,
4531
+ lumiPreventLeave ( ) ,
4532
+ m . bindCluster ( { cluster : "genOnOff" , clusterType : "input" } ) ,
4533
+ m . bindCluster ( { cluster : "genLevelCtrl" , clusterType : "input" } ) ,
4534
+ lumiPower ( ) ,
4535
+ lumiElectricityMeter ( ) ,
4536
+ lumiLedIndicator ( ) ,
4537
+ lumiFlipIndicatorLight ( ) ,
4538
+ lumiPowerOnBehavior ( ) ,
4539
+ m . light ( { powerOnBehavior : false } ) ,
4540
+ lumiKnobRotation ( { withButtonState : false } ) ,
4541
+ lumiOperationMode ( { description : "Decoupled mode for knob" } ) ,
4542
+ lumiAction ( { actionLookup : { single : 1 } } ) ,
4543
+ m . enumLookup ( {
4544
+ name : "sensitivity" ,
4545
+ lookup : { low : 720 , medium : 360 , high : 180 } ,
4546
+ cluster : "manuSpecificLumi" ,
4547
+ attribute : { ID : 0x0234 , type : 0x21 } ,
4548
+ description : "Rotation sensitivity" ,
4549
+ zigbeeCommandOptions : { manufacturerCode} ,
4550
+ } ) ,
4551
+ m . enumLookup ( {
4552
+ name : "phase" ,
4553
+ lookup : { forward : 0 , reverse : 1 } ,
4554
+ cluster : "manuSpecificLumi" ,
4555
+ attribute : { ID : 0x030a , type : 0x20 } ,
4556
+ description : "Dimming phase" ,
4557
+ zigbeeCommandOptions : { manufacturerCode} ,
4558
+ } ) ,
4559
+ m . numeric ( {
4560
+ name : "min_brightness" ,
4561
+ valueMin : 0 ,
4562
+ valueMax : 99 ,
4563
+ unit : "%" ,
4564
+ cluster : "manuSpecificLumi" ,
4565
+ attribute : { ID : 0x0515 , type : 0x20 } ,
4566
+ description : "Minimum brightness level" ,
4567
+ zigbeeCommandOptions : { manufacturerCode} ,
4568
+ } ) ,
4569
+ m . numeric ( {
4570
+ name : "max_brightness" ,
4571
+ valueMin : 1 ,
4572
+ valueMax : 100 ,
4573
+ unit : "%" ,
4574
+ cluster : "manuSpecificLumi" ,
4575
+ attribute : { ID : 0x0516 , type : 0x20 } ,
4576
+ description : "Maximum brightness level" ,
4577
+ zigbeeCommandOptions : { manufacturerCode} ,
4578
+ } ) ,
4579
+ ] ,
4580
+ } ,
4524
4581
] ;
0 commit comments