Skip to content

Commit e2ae7d6

Browse files
authored
feat: Implement PowerOnBehaviour for Aqara T1M lamp (CL-L02D) (#8550)
1 parent 5be3337 commit e2ae7d6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/devices/lumi.ts

+8
Original file line numberDiff line numberDiff line change
@@ -4460,6 +4460,14 @@ const definitions: DefinitionWithExtend[] = [
44604460
lumiLight({colorTemp: true, endpointNames: ['white']}),
44614461
lumiLight({colorTemp: true, deviceTemperature: false, powerOutageCount: false, color: {modes: ['xy', 'hs']}, endpointNames: ['rgb']}),
44624462
lumiZigbeeOTA(),
4463+
enumLookup({
4464+
name: 'power_on_behaviour',
4465+
lookup: {on: 0, previous: 1, off: 2},
4466+
cluster: 'manuSpecificLumi',
4467+
attribute: {ID: 0x0517, type: 0x20},
4468+
description: 'Controls the behavior when the device is powered on after power loss',
4469+
zigbeeCommandOptions: {manufacturerCode},
4470+
}),
44634471
],
44644472
},
44654473
{

0 commit comments

Comments
 (0)