AlexxIT / XiaomiGateway3

Home Assistant custom component for control Xiaomi Multimode Gateway (aka Gateway 3), Xiaomi Multimode Gateway 2, Aqara Hub E1 on default firmwares over LAN
https://github.com/AlexxIT/Blog
MIT License
2.47k stars 345 forks source link

Add support for PTX Mesh Multifunction Wireless Switch #1063

Closed catsimple closed 1 year ago

catsimple commented 1 year ago
}, {
    # https://home.miot-spec.com/spec/090615.remote.mlsw0a
    10371: ["PTX", "Mesh Multifunction Wireless Switch", "090615.remote.mlsw0a"],
    "spec": [
        MiBeacon, BLEAction, Button,
        EventConv("action", mi="2.e.1", value="click"),
        EventConv("action", mi="3.e.2", value="hold"),
    ]

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

AlexxIT commented 1 year ago

Thanks!

AlexxIT commented 1 year ago

https://github.com/AlexxIT/XiaomiGateway3/releases/tag/v3.3.0