|
3049 | 3049 | MathConv("power", "sensor", mi="3.p.6", round=1), |
3050 | 3050 | Converter("led", "light", mi="4.p.1"), |
3051 | 3051 | ], |
| 3052 | +}, { |
| 3053 | + # https://home.miot-spec.com/spec/lemesh.light.wy0c14 |
| 3054 | + 13471: ["LeMesh", "Mesh Light", "lemesh.light.wy0c14 "], |
| 3055 | + "spec": [ |
| 3056 | + Converter("light", "light", mi="2.p.1"), |
| 3057 | + BrightnessConv("brightness", mi="2.p.2", parent="light", max=100), |
| 3058 | + ColorTempKelvin("color_temp", mi="2.p.3", parent="light", mink=2700, maxk=6500), |
| 3059 | + MapConv("mode", "select", mi="2.p.5", map={ |
| 3060 | + 0: "WY", 4: "day", 5: "night", 8: "TV", 9: "reading", 10: "computer", |
| 3061 | + 11: "hospitality", 12: "entertainment", 13: "wakeup", 14: "dusk", |
| 3062 | + 15: "sleep" |
| 3063 | + }), |
| 3064 | + MapConv("power_on_state", "select", mi="2.p.7", map={0: "default", 1: "on"}), |
| 3065 | + BoolConv("save_state", "switch", mi="4.p.2"), |
| 3066 | + MapConv("dimming", "select", mi="4.p.3", map={0: "Gradient", 1: "Immediately"}), |
| 3067 | + BoolConv("night_light", "switch", mi="4.p.5"), |
| 3068 | + ] |
3052 | 3069 | }, { |
3053 | 3070 | "default": "mesh", # default Mesh device |
3054 | 3071 | "spec": [ |
|
0 commit comments