Improve button map for Busch-Jaeger switches
@@ -162,8 +162,13 @@ static const Sensor::ButtonMap bjeSwitchMap[] = {
{ Sensor::ModeScenes, 0x0A, 0x0006, 0x01, 0, S_BUTTON_2 + S_BUTTON_ACTION_SHORT_RELEASED, "On" },
{ Sensor::ModeScenes, 0x0A, 0x0008, 0x06, 0, S_BUTTON_2 + S_BUTTON_ACTION_HOLD, "Step up (with on/off)" },
// 2) row left button
+ { Sensor::ModeScenes, 0x0B, 0x0006, 0x00, 0, S_BUTTON_3 + S_BUTTON_ACTION_SHORT_RELEASED, "Off" },
+ { Sensor::ModeScenes, 0x0B, 0x0008, 0x02, 1, S_BUTTON_3 + S_BUTTON_ACTION_HOLD, "Step down" },
+ { Sensor::ModeScenes, 0x0B, 0x0008, 0x03, 0, S_BUTTON_3 + S_BUTTON_ACTION_LONG_RELEASED, "Stop" },
{ Sensor::ModeScenes, 0x0B, 0x0005, 0x05, 3, S_BUTTON_3 + S_BUTTON_ACTION_SHORT_RELEASED, "Recall scene 3" },
// 2) row right button
+ { Sensor::ModeScenes, 0x0B, 0x0006, 0x01, 0, S_BUTTON_4 + S_BUTTON_ACTION_SHORT_RELEASED, "On" },
+ { Sensor::ModeScenes, 0x0B, 0x0008, 0x06, 0, S_BUTTON_4 + S_BUTTON_ACTION_HOLD, "Step up (with on/off)" },
{ Sensor::ModeScenes, 0x0B, 0x0005, 0x05, 4, S_BUTTON_4 + S_BUTTON_ACTION_SHORT_RELEASED, "Recall scene 4" },
// 3) row right button
{ Sensor::ModeScenes, 0x0C, 0x0005, 0x05, 5, S_BUTTON_5 + S_BUTTON_ACTION_SHORT_RELEASED, "Recall scene 5" },
