|
4435 | 4435 | ConstConv("action", mi="7.e.3", value=BUTTON_3_HOLD), |
4436 | 4436 | BaseConv("occupy", "binary_sensor", mi="10.p.13"), |
4437 | 4437 | ], |
| 4438 | +}, { |
| 4439 | + 29442: ["Linptech", "Linptech Wall Switch E3S 2 Key", "linp.switch.e3sbw2"], |
| 4440 | + "spec": [ |
| 4441 | + BaseConv("channel_1", "switch", mi="2.p.1"), |
| 4442 | + BaseConv("channel_2", "switch", mi="3.p.1"), |
| 4443 | + MapConv("working_mode_1", "select", mi="2.p.2", map={0: "Wired And Wireless", 1: "Wireless"}), |
| 4444 | + MapConv("working_mode_2", "select", mi="3.p.2", map={0: "Wired And Wireless", 1: "Wireless"}), |
| 4445 | + MapConv("fast_mode_1", "select", mi="5.p.1", map={0: "Multiple Click", 1: "Quick Single Click"}), |
| 4446 | + MapConv("fast_mode_2", "select", mi="6.p.1", map={0: "Multiple Click", 1: "Quick Single Click"}), |
| 4447 | + BaseConv("action", "sensor"), |
| 4448 | + ConstConv("action", mi="5.e.1", value=BUTTON_1_SINGLE), |
| 4449 | + ConstConv("action", mi="5.e.2", value=BUTTON_1_DOUBLE), |
| 4450 | + ConstConv("action", mi="5.e.3", value=BUTTON_1_HOLD), |
| 4451 | + ConstConv("action", mi="6.e.1", value=BUTTON_2_SINGLE), |
| 4452 | + ConstConv("action", mi="6.e.2", value=BUTTON_2_DOUBLE), |
| 4453 | + ConstConv("action", mi="6.e.3", value=BUTTON_2_HOLD), |
| 4454 | + MapConv("white_indicator", "select", mi="10.p.3", map={0: "Off", 100: "On"}), |
| 4455 | + MapConv("orange_indicator", "select", mi="10.p.4", map={0: "Off", 100: "On"}), |
| 4456 | + MapConv("anti_flicker", "select", mi="10.p.11", map={0: "Middle", 1: "High", 2: "Low"}), |
| 4457 | + |
| 4458 | + ], |
4438 | 4459 | }, { |
4439 | 4460 | 16854: ["ZNSN", "Mesh Six-Key Oled Wall Switch", "znsn.switch.oled6"], |
4440 | 4461 | "spec": [ |
|
0 commit comments