XiaomiGateway3
XiaomiGateway3 copied to clipboard
Request to add fan lamp series V1
Request to add fan lamp series V1
The following is edited by self-reference to other similar devices. Please add a list of support devices. Thank you
15365: [None, "Mesh風扇燈系列V1", "cxw.light.wyfv01"],
"spec": [
BaseConv("light", "light", mi="2.p.1"),
BrightnessConv("brightness", mi="2.p.2", max=100),
ColorTempKelvin("color_temp", mi="2.p.3", mink=2700, maxk=6500),
MapConv("light_mode", "select", mi="2.p.5", map={0: "None", 1: "Lighting", 2: "Tv", 3: "Warmth", 4: "Reading", 5: "Sleep", 6: "Eat", 7: "Candlelight", 8: "GoHome", 9: "LeaveHome"}),
BaseConv("fan", "switch", mi="5.p.1"),
BaseConv("horizontal_swing", "switch", mi="5.p.3"),
BaseConv("wind_reverse", "switch", mi="5.p.4"),
BoolConv("natural_wind", "switch", mi="5.p.5"),
MapConv("fan_level", "select", mi="5.p.2", map={1: "風速 1", 2: "風速 2", 3: "風速 3", 4: "風速 4", 5: "風速 5", 6: "風速 6"}),
],