Update button_maps.json
Added button map for Elko ESH 316 Endevender RF
[1, "0x01", "SENGLED", "COMMAND_0", "8", "S_BUTTON_4", "S_BUTTON_ACTION_LONG_RELEASED", "Off (long press)"]
]
+ },
+ "elkoMap": {
+ "vendor": "ELKO",
+ "doc": "Elko ESH 316 Endevender RF",
+ "modelids": ["ElkoDimmerRemoteZHA"],
+ "buttons": [
+ {"S_BUTTON_1": "Action button"},
+ {"S_BUTTON_2": "Dim up"},
+ {"S_BUTTON_3": "Dim down"}
+ ],
+ "map": [
+ [1, "0x01", "ONOFF", "TOGGLE", "0", "S_BUTTON_1", "S_BUTTON_ACTION_SHORT_RELEASED", "On"],
+ [1, "0x01", "LEVEL_CONTROL", "STEP", "0", "S_BUTTON_2", "S_BUTTON_ACTION_SHORT_RELEASED", "Dim up"],
+ [1, "0x01", "LEVEL_CONTROL", "STEP", "1", "S_BUTTON_3", "S_BUTTON_ACTION_SHORT_RELEASED", "Dim down"]
+ ]
}
}
}
