We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
from custom_components.xiaomi_gateway3.core.devices import * DEVICES = [{ # https://home.miot-spec.com/spec?type=urn:miot-spec-v2:device:switch:0000A003:090615-x6kw3:1:0000C810 11654: ["PTX", "Smart Tripl Wall Switch", "PTX-X62-NMIMC1", "090615.switch.x6kw3"], "spec": [ BaseConv("action", "sensor"), ConstConv("action", mi="8.e.1", value=BUTTON_1_SINGLE), ConstConv("action", mi="8.e.2", value=BUTTON_2_SINGLE), ConstConv("action", mi="8.e.3", value=BUTTON_3_SINGLE), BaseConv("switch_1", "switch", mi="2.p.1"), BaseConv("switch_2", "switch", mi="3.p.1"), BaseConv("switch_3", "switch", mi="4.p.1"), BaseConv("backlight", "switch", mi="9.p.1"), # config 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("Mode_3", "select", mi="4.p.2", map={0: "Wired And Wireless", 1: "Wireless"}) ], }] + DEVICES
The text was updated successfully, but these errors were encountered:
Add support PTX Smart Tripl Wall Switch(090615.switch.x6kw3) #1515
78c7a9e
AlexxIT
No branches or pull requests
The text was updated successfully, but these errors were encountered: