Hello @erickv,
I have made a version of the driver with that option and all the switches that I have respond with UNSUPPORTED_ATTRIBUTE for 0x4003.
I have tried in all and it doesnβt work.
It seems strange to me because I have used some of them in Tuya app and they do have that adjustment option and it works.
This is the log for one of them, I write the value 255 (0xFF) in the attribute 0x4003 of the cluster 0x0006.
2022-01-15T15:43:24.514417372+00:00 PRINT Zigbee Switch 5.5 << Preference changed: name, old, new >> stateAfterPowerLost SetOn PreviousState
2022-01-15T15:43:24.555821706+00:00 INFO Zigbee Switch 5.5 <ZigbeeDevice: 782297fd-21de-4fbd-b2b2-884bc9878a04 [0xFC69] (Lidl Plug)> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0xFC69, dest_endpoint: 0x0B, profile: 0x0104, cluster: OnOff >, < ZCLMessageBody || < ZCLHeader ||
frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x02 >, < WriteAttribute || < AttributeRecord || attr_id: 0x4003, DataType: Enum8, data: 0xFF > > > >
2022-01-15T15:43:24.583428039+00:00 PRINT Zigbee Switch 5.5 device.preferences[infoChanged]= Plug
2022-01-15T15:43:24.599769706+00:00 PRINT Zigbee Switch 5.5 device.preferences[infoChanged]= 10.0
2022-01-15T15:43:24.607682706+00:00 PRINT Zigbee Switch 5.5 device.preferences[infoChanged]= 1.0
2022-01-15T15:43:24.616601706+00:00 PRINT Zigbee Switch 5.5 device.preferences[infoChanged]=
2022-01-15T15:43:24.628821372+00:00 PRINT Zigbee Switch 5.5 Device ID <ZigbeeDevice: 782297fd-21de-4fbd-b2b2-884bc9878a04 [0xFC69] (Lidl Plug)>
2022-01-15T15:43:24.644253372+00:00 PRINT Zigbee Switch 5.5 Manufacturer >>> _TZ3000_kdi2o9m6 Manufacturer_Len >>> 16
2022-01-15T15:43:24.650833706+00:00 PRINT Zigbee Switch 5.5 Model >>> TS011F Model_len >>> 6
2022-01-15T15:43:24.656895706+00:00 DEBUG Zigbee Switch 5.5 Lidl Plug device thread event handled
2022-01-15T15:43:24.686309706+00:00 TRACE Zigbee Switch 5.5 Received event with handler zigbee
2022-01-15T15:43:24.720950373+00:00 INFO Zigbee Switch 5.5 <ZigbeeDevice: 782297fd-21de-4fbd-b2b2-884bc9878a04 [0xFC69] (Lidl Plug)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0xFC69, src_endpoint: 0x0B, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, lqi: 0xB4, rssi: -55, body_length: 0x0006, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x18, seqno: 0x62, ZCLCommandId: 0x04 >, < WriteAttributeReponse || < WriteAttributeResponseRecord || ZclStatus: UNSUPPORTED_ATTRIBUTE, AttributeId: 0x4003 > > > >
@BaRaD5,
If you want to try on your switch, I publish it and try