{
14432: ["Xiaomi", "Xiaomi Smart Wall Switch Pro (2 Gang)", "xiaomi.switch.pro2"],
"spec": [
BaseConv("channel_1", "switch", mi="2.p.1"),
BaseConv("channel_2", "switch", mi="3.p.1"),
BaseConv("action", "sensor", entity=ENTITY_DISABLED),
ConstConv("action", mi="4.e.1", value=BUTTON_1_SINGLE),
ConstConv("action", mi="4.e.2", value=BUTTON_1_DOUBLE),
ConstConv("action", mi="4.e.3", value=BUTTON_1_HOLD),
ConstConv("action", mi="5.e.1", value=BUTTON_2_SINGLE),
ConstConv("action", mi="5.e.2", value=BUTTON_2_DOUBLE),
ConstConv("action", mi="5.e.3", value=BUTTON_2_HOLD),
MapConv("mode_1","select", mi="2.p.2", map={0: "Wired And Wireless", 1: "Wireless"}),
MapConv("mode_2","select", mi="3.p.2", map={0: "Wired And Wireless", 1: "Wireless"}),
MapConv("fault", "sensor", mi="2.p.3", map={0: "No Faults", 1: "Over Temperature", 2: "Overload", 3: "Overload And Overheat"}),
MathConv("power", "sensor", mi="6.p.2", round=1),
BaseConv("led", "switch", mi="7.p.1"),
MapConv("wiring_method","sensor", mi="2.p.5", map={0: "No Neutral", 1: "Neutral Wire"}),
],
}