Add Sengled E1E-G7F button map
"WINDOW_COVERING": 258,
"COLOR_CONTROL": 768,
"IAS_ZONE": 1280,
- "IAS_ACE": 1281
+ "IAS_ACE": 1281,
+ "SENGLED": 64528
},
"commands": {
"DOOR_LOCK": {
},
"MULTISTATE_INPUT": {
"ATTRIBUTE_REPORT": 10
+ },
+ "SENGLED": {
+ "COMMAND_0": 0
}
},
"maps": {
[1, "0x01", "ONOFF", "OFF", "0", "S_BUTTON_4", "S_BUTTON_ACTION_SHORT_RELEASED", "Off"]
]
+ },
+ "sengledMap": {
+ "vendor": "Sengled",
+ "doc": "Sengled Smart Light Switch",
+ "modelids": ["E1E-G7F"],
+ "map": [
+ [1, "0x01", "SENGLED", "COMMAND_0", "1", "S_BUTTON_1", "S_BUTTON_ACTION_SHORT_RELEASED", "On (single press)"],
+ [1, "0x01", "SENGLED", "COMMAND_0", "5", "S_BUTTON_1", "S_BUTTON_ACTION_DOUBLE_PRESS", "On (double press)"],
+ [1, "0x01", "SENGLED", "COMMAND_0", "6", "S_BUTTON_1", "S_BUTTON_ACTION_LONG_RELEASED", "On (long press)"],
+ [1, "0x01", "SENGLED", "COMMAND_0", "2", "S_BUTTON_2", "S_BUTTON_ACTION_SHORT_RELEASED", "Dim up"],
+ [1, "0x01", "SENGLED", "COMMAND_0", "3", "S_BUTTON_3", "S_BUTTON_ACTION_SHORT_RELEASED", "Dim down"],
+ [1, "0x01", "SENGLED", "COMMAND_0", "4", "S_BUTTON_4", "S_BUTTON_ACTION_SHORT_RELEASED", "Off"],
+ [1, "0x01", "SENGLED", "COMMAND_0", "7", "S_BUTTON_4", "S_BUTTON_ACTION_DOUBLE_PRESS", "Off (double press)"],
+ [1, "0x01", "SENGLED", "COMMAND_0", "8", "S_BUTTON_4", "S_BUTTON_ACTION_LONG_RELEASED", "Off (long press)"]
+ ]
+
}
}
}
