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

Add support for Chuangmi Wall Switch (with N) #1062

Closed
catsimple opened this issue May 27, 2023 · 2 comments
Closed

Add support for Chuangmi Wall Switch (with N) #1062

catsimple opened this issue May 27, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@catsimple
Copy link

}, {
    # https://home.miot-spec.com/spec/chuangmi.switch.mesh
    1350: ["Chuangmi", "Single Wall Switch K1-A (with N)", "chuangmi.switch.mesh"],
    "spec": [
        Converter("switch", "switch", mi="2.p.1"),
        MapConv("indicator light", "switch", mi="3.p.3", map={1: False, 2: True}),
    ]
}, {
    # https://home.miot-spec.com/spec/chuangmi.switch.meshb01
    1490: ["Chuangmi", "Double Wall Switch K1-B (with N)", "chuangmi.switch.meshb01"],
    "spec": [
        Converter("left switch", "switch", mi="2.p.1"),
        Converter("right switch", "switch", mi="3.p.1"),
        MapConv("indicator light", "switch", mi="4.p.3", map={1: False, 2: True}),
    ]

Enviroment:
Device Xiaomi Multimode Gateway CN v1.5.4_0090
XiaomiGateway3: v3.2.1
Homeassistant: 2023.5.4

@AlexxIT AlexxIT added the enhancement New feature or request label Jun 5, 2023
@AlexxIT
Copy link
Owner

AlexxIT commented Jun 5, 2023

Thanks!

@AlexxIT
Copy link
Owner

AlexxIT commented Jun 12, 2023

@AlexxIT AlexxIT closed this as completed Jun 12, 2023
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