Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add the following two devices to the release build #1476

Open
niujiaxing1 opened this issue Oct 21, 2024 · 0 comments
Open

Please add the following two devices to the release build #1476

niujiaxing1 opened this issue Oct 21, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@niujiaxing1
Copy link

niujiaxing1 commented Oct 21, 2024

Please help me add the following devices to the next release:
Linptech Wall Switch H2 8-button, Linptech Wall Switch H2 4-button;
Thank you;

{
    16808: ["Linptech", "Linptech Wall Switch QH2DB8", "linp.switch.qh2db8"],
    "spec": [
        BaseConv("channel_1", "switch", mi="2.p.1"),
        BaseConv("channel_2", "switch", mi="3.p.1"),
        BaseConv("channel_3", "switch", mi="4.p.1"),
        BoolConv("wireless_1", "switch", mi="2.p.2"),
        BoolConv("wireless_2", "switch", mi="3.p.2"),
        BoolConv("wireless_3", "switch", mi="4.p.2"),
        MapConv("action", "sensor", mi="10.e.1.p.1", map={1: "BUTTON_1_CLICK", 2: "BUTTON_2_CLICK", 3: "BUTTON_3_CLICK", 4: "BUTTON_4_CLICK", 5: "BUTTON_5_CLICK", 6: "BUTTON_6_CLICK", 7: "BUTTON_7_CLICK", 8: "BUTTON_8_CLICK"}),
        MapConv("action", "sensor", mi="10.e.2.p.1", map={1: "BUTTON_1_DOUBLE_CLICK", 2: "BUTTON_2_DOUBLE_CLICK", 3: "BUTTON_3_DOUBLE_CLICK", 4: "BUTTON_4_DOUBLE_CLICK", 5: "BUTTON_5_DOUBLE_CLICK", 6: "BUTTON_6_DOUBLE_CLICK", 7: "BUTTON_7_DOUBLE_CLICK", 8: "BUTTON_8_DOUBLE_CLICK"}),
        MapConv("action", "sensor", mi="10.e.3.p.1", map={1: "BUTTON_1_TOP_HOLD", 2: "BUTTON_2_TOP_HOLD", 3: "BUTTON_3_TOP_HOLD", 4: "BUTTON_4_TOP_HOLD", 5: "BUTTON_5_TOP_HOLD", 6: "BUTTON_6_TOP_HOLD", 7: "BUTTON_7_TOP_HOLD", 8: "BUTTON_8_TOP_HOLD"}),
        BaseConv("Occupy", "binary_sensor", mi="11.p.11"),
    ],
}, {
    16807: ["Linptech", "Linptech Wall Switch QH2DB4", "linp.switch.qh2db4"],
    "spec": [
        BaseConv("channel_1", "switch", mi="2.p.1"),
        BaseConv("channel_2", "switch", mi="3.p.1"),
        BaseConv("channel_3", "switch", mi="4.p.1"),
        BoolConv("wireless_1", "switch", mi="2.p.2"),
        BoolConv("wireless_2", "switch", mi="3.p.2"),
        BoolConv("wireless_3", "switch", mi="4.p.2"),
        MapConv("action", "sensor", mi="10.e.1.p.1", map={1: "BUTTON_1_CLICK", 2: "BUTTON_2_CLICK", 3: "BUTTON_3_CLICK", 4: "BUTTON_4_CLICK"}),
        MapConv("action", "sensor", mi="10.e.2.p.1", map={1: "BUTTON_1_DOUBLE_CLICK", 2: "BUTTON_2_DOUBLE_CLICK", 3: "BUTTON_3_DOUBLE_CLICK", 4: "BUTTON_4_DOUBLE_CLICK"}),
        MapConv("action", "sensor", mi="10.e.3.p.1", map={1: "BUTTON_1_TOP_HOLD", 2: "BUTTON_2_TOP_HOLD", 3: "BUTTON_3_TOP_HOLD", 4: "BUTTON_4_TOP_HOLD"}),
        BaseConv("Occupy", "binary_sensor", mi="11.p.11"),
    ],
}, 
@AlexxIT AlexxIT added the enhancement New feature or request label Oct 21, 2024
@AlexxIT AlexxIT self-assigned this Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants