[miio] add support for huayi Fans, heater and lights (#9348)

* [miio] add support for huayi Fans, heater and lights
* [miio] incl right names

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
Marcel
2020-12-12 15:29:39 -08:00
committed by GitHub
parent 5bfc8940f4
commit 12e5e38cb0
7 changed files with 980 additions and 55 deletions

View File

@@ -87,7 +87,7 @@ or in case of unknown models include the model information of a similar device t
# Mi IO Devices
Currently the miio binding supports more than 220 different models.
Currently the miio binding supports more than 230 different models.
| Device | ThingType | Device Model | Supported | Remark |
|------------------------------|------------------|------------------------|-----------|------------|
@@ -158,6 +158,8 @@ Currently the miio binding supports more than 220 different models.
| Mi Air Purifier virtual | miio:basic | [lumi.gateway.mgl03](#lumi-gateway-mgl03) | Yes | Used to control the gateway itself. Use the mihome binding to control devices connected to the Xiaomi gateway.<br />Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| HUIZUO ARIES For Bedroom | miio:basic | [huayi.light.ari013](#huayi-light-ari013) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| HUIZUO ARIES For Living Room | miio:basic | [huayi.light.aries](#huayi-light-aries) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| HUIZUO Fan Light | miio:basic | [huayi.light.fanwy](#huayi-light-fanwy) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| HUIZUO Fan Light(2020) | miio:basic | [huayi.light.fanwy2](#huayi-light-fanwy2) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| HUIZUO PEGASUS For Living Room | miio:basic | [huayi.light.peg091](#huayi-light-peg091) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| HUIZUO PEGASUS For Bedroom | miio:basic | [huayi.light.peg093](#huayi-light-peg093) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| HUIZUO PISCES For Bedroom | miio:basic | [huayi.light.pis123](#huayi-light-pis123) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
@@ -167,6 +169,12 @@ Currently the miio binding supports more than 220 different models.
| HUIZUO VIRGO For Bedroom | miio:basic | [huayi.light.vir063](#huayi-light-vir063) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| HUIZUO VIRGO For Living Room | miio:basic | [huayi.light.virgo](#huayi-light-virgo) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| HUIZUO Ceiling Light | miio:basic | [huayi.light.wy](#huayi-light-wy) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| HUIZUO LIANGCHEN(BLE Mesh) | miio:basic | [huayi.light.wy200](#huayi-light-wy200) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| HUIZUO SAG Downlight (BLE Mesh) | miio:basic | [huayi.light.wy201](#huayi-light-wy201) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| HUIZUO Bulb (BLE Mesh) | miio:basic | [huayi.light.wy202](#huayi-light-wy202) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| HUIZUO YONG Downlight (BLE Mesh) | miio:basic | [huayi.light.wy203](#huayi-light-wy203) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| huayi.light.wy204 | miio:basic | [huayi.light.wy204](#huayi-light-wy204) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| HUIZUO Heating Lamp | miio:basic | [huayi.light.wyheat](#huayi-light-wyheat) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| HUIZUO ZIWEI Ceiling Lamp | miio:basic | [huayi.light.zw131](#huayi-light-zw131) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| Aqara Wall Switch(No Neutral, Single Rocker) | miio:unsupported | lumi.ctrl_neutral1.v1 | No | |
| Aqara Wall Switch (No Neutral, Double Rocker) | miio:unsupported | lumi.ctrl_neutral2.v1 | No | |
@@ -1385,96 +1393,178 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Light - Switch Status | |
| brightness | Number:Dimensionless | Light - Brightness | |
| on | Switch | Light - Power | |
| brightness | Dimmer | Light - Brightness | |
| color-temperature | Number:Temperature | Light - Color Temperature | |
### HUIZUO ARIES For Living Room (<a name="huayi-light-aries">huayi.light.aries</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Light - Switch Status | |
| brightness | Number:Dimensionless | Light - Brightness | |
| on | Switch | Light - Power | |
| brightness | Dimmer | Light - Brightness | |
| color-temperature | Number:Temperature | Light - Color Temperature | |
### HUIZUO Fan Light (<a name="huayi-light-fanwy">huayi.light.fanwy</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Light - Power | |
| brightness | Dimmer | Light - Brightness | |
| color-temperature | Number:Temperature | Light - Color Temperature | |
| on1 | Switch | Fan - Power | |
| fan-level | Number:Dimensionless | Fan - Fan Level | |
| motor-reverse | Switch | Fan - Motor Reverse | |
| mode | Number | Fan - Mode | Value mapping [1="Normal Wind",2="Natural Wind"] |
### HUIZUO Fan Light(2020) (<a name="huayi-light-fanwy2">huayi.light.fanwy2</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Light - Power | |
| brightness | Dimmer | Light - Brightness | |
| color-temperature | Number:Temperature | Light - Color Temperature | |
| on1 | Switch | Fan - Power | |
| fan-level | Number:Dimensionless | Fan - Fan Level | |
| mode | Number | Fan - Mode | Value mapping [0="Basic",1="Natural Wind"] |
| time-off | Number:Time | Presets - Time Off | |
| pre-colortemp | Number:Temperature | Presets - Pre Colortemp | |
| pre-brightness | Number:Dimensionless | Presets - Pre Brightness | |
| pre-speed | Number:Dimensionless | Presets - Pre Speed | |
| reversal | Number | Presets - Reversal | Value mapping [0="Positive",1="Reverse"] |
| pre-custom | Number | Presets - Pre Custom | Value mapping [0="Switch Off",1="Open"] |
| flabellum | Switch | Presets - Flabellum | |
### HUIZUO PEGASUS For Living Room (<a name="huayi-light-peg091">huayi.light.peg091</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Light - Switch Status | |
| brightness | Number:Dimensionless | Light - Brightness | |
| on | Switch | Light - Power | |
| brightness | Dimmer | Light - Brightness | |
| color-temperature | Number:Temperature | Light - Color Temperature | |
### HUIZUO PEGASUS For Bedroom (<a name="huayi-light-peg093">huayi.light.peg093</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Light - Switch Status | |
| brightness | Number:Dimensionless | Light - Brightness | |
| on | Switch | Light - Power | |
| brightness | Dimmer | Light - Brightness | |
| color-temperature | Number:Temperature | Light - Color Temperature | |
### HUIZUO PISCES For Bedroom (<a name="huayi-light-pis123">huayi.light.pis123</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Light - Switch Status | |
| brightness | Number:Dimensionless | Light - Brightness | |
| on | Switch | Light - Power | |
| brightness | Dimmer | Light - Brightness | |
| color-temperature | Number:Temperature | Light - Color Temperature | |
### HUIZUO PISCES For Living Room (<a name="huayi-light-pisces">huayi.light.pisces</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Light - Switch Status | |
| brightness | Number:Dimensionless | Light - Brightness | |
| on | Switch | Light - Power | |
| brightness | Dimmer | Light - Brightness | |
| color-temperature | Number:Temperature | Light - Color Temperature | |
### HUIZUO TAURUS For Bedroom (<a name="huayi-light-tau023">huayi.light.tau023</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Light - Switch Status | |
| brightness | Number:Dimensionless | Light - Brightness | |
| on | Switch | Light - Power | |
| brightness | Dimmer | Light - Brightness | |
| color-temperature | Number:Temperature | Light - Color Temperature | |
### HUIZUO TAURUS For Living Room (<a name="huayi-light-taurus">huayi.light.taurus</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Light - Switch Status | |
| brightness | Number:Dimensionless | Light - Brightness | |
| on | Switch | Light - Power | |
| brightness | Dimmer | Light - Brightness | |
| color-temperature | Number:Temperature | Light - Color Temperature | |
### HUIZUO VIRGO For Bedroom (<a name="huayi-light-vir063">huayi.light.vir063</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Light - Switch Status | |
| brightness | Number:Dimensionless | Light - Brightness | |
| on | Switch | Light - Power | |
| brightness | Dimmer | Light - Brightness | |
| color-temperature | Number:Temperature | Light - Color Temperature | |
### HUIZUO VIRGO For Living Room (<a name="huayi-light-virgo">huayi.light.virgo</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Light - Switch Status | |
| brightness | Number:Dimensionless | Light - Brightness | |
| on | Switch | Light - Power | |
| brightness | Dimmer | Light - Brightness | |
| color-temperature | Number:Temperature | Light - Color Temperature | |
### HUIZUO Ceiling Light (<a name="huayi-light-wy">huayi.light.wy</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Light - Switch Status | |
| brightness | Number:Dimensionless | Light - Brightness | |
| on | Switch | Light - Power | |
| brightness | Dimmer | Light - Brightness | |
| color-temperature | Number:Temperature | Light - Color Temperature | |
### HUIZUO LIANGCHEN(BLE Mesh) (<a name="huayi-light-wy200">huayi.light.wy200</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Light - Power | |
| brightness | Dimmer | Light - Brightness | |
| color-temperature | Number:Temperature | Light - Color Temperature | |
### HUIZUO SAG Downlight (BLE Mesh) (<a name="huayi-light-wy201">huayi.light.wy201</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Light - Power | |
| brightness | Dimmer | Light - Brightness | |
| color-temperature | Number:Temperature | Light - Color Temperature | |
### HUIZUO Bulb (BLE Mesh) (<a name="huayi-light-wy202">huayi.light.wy202</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Light - Power | |
| brightness | Dimmer | Light - Brightness | |
| color-temperature | Number:Temperature | Light - Color Temperature | |
### HUIZUO YONG Downlight (BLE Mesh) (<a name="huayi-light-wy203">huayi.light.wy203</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Light - Power | |
| brightness | Dimmer | Light - Brightness | |
| color-temperature | Number:Temperature | Light - Color Temperature | |
### huayi.light.wy204 (<a name="huayi-light-wy204">huayi.light.wy204</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Light - Power | |
| brightness | Dimmer | Light - Brightness | |
| color-temperature | Number:Temperature | Light - Color Temperature | |
### HUIZUO Heating Lamp (<a name="huayi-light-wyheat">huayi.light.wyheat</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Light - Power | |
| brightness | Dimmer | Light - Brightness | |
| color-temperature | Number:Temperature | Light - Color Temperature | |
| on1 | Switch | Heater - Power | |
| fault | Number | Heater - Device Fault | Value mapping [0="No Faults"] |
| heat-level | Number | Heater - Heat Level | |
| screenshow | Switch | Other - Screenshow | |
### HUIZUO ZIWEI Ceiling Lamp (<a name="huayi-light-zw131">huayi.light.zw131</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Light - Switch Status | |
| brightness | Number:Dimensionless | Light - Brightness | |
| on | Switch | Light - Power | |
| brightness | Dimmer | Light - Brightness | |
| color-temperature | Number:Temperature | Light - Color Temperature | |
### Xiaomiyoupin Curtain Controller (Wi-Fi) (<a name="lumi-curtain-hagl05">lumi.curtain.hagl05</a>) Channels
@@ -4542,8 +4632,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own
```java
Group G_light "HUIZUO ARIES For Bedroom" <status>
Switch on "Light - Switch Status" (G_light) {channel="miio:basic:light:on"}
Number:Dimensionless brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"}
Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number:Temperature color-temperature "Light - Color Temperature" (G_light) {channel="miio:basic:light:color-temperature"}
```
@@ -4553,19 +4643,55 @@ note: Autogenerated example. Replace the id (light) in the channel with your own
```java
Group G_light "HUIZUO ARIES For Living Room" <status>
Switch on "Light - Switch Status" (G_light) {channel="miio:basic:light:on"}
Number:Dimensionless brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"}
Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number:Temperature color-temperature "Light - Color Temperature" (G_light) {channel="miio:basic:light:color-temperature"}
```
### HUIZUO Fan Light (huayi.light.fanwy) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "HUIZUO Fan Light" <status>
Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"}
Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number:Temperature color-temperature "Light - Color Temperature" (G_light) {channel="miio:basic:light:color-temperature"}
Switch on1 "Fan - Power" (G_light) {channel="miio:basic:light:on1"}
Number:Dimensionless fan-level "Fan - Fan Level" (G_light) {channel="miio:basic:light:fan-level"}
Switch motor-reverse "Fan - Motor Reverse" (G_light) {channel="miio:basic:light:motor-reverse"}
Number mode "Fan - Mode" (G_light) {channel="miio:basic:light:mode"}
```
### HUIZUO Fan Light(2020) (huayi.light.fanwy2) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "HUIZUO Fan Light(2020)" <status>
Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"}
Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number:Temperature color-temperature "Light - Color Temperature" (G_light) {channel="miio:basic:light:color-temperature"}
Switch on1 "Fan - Power" (G_light) {channel="miio:basic:light:on1"}
Number:Dimensionless fan-level "Fan - Fan Level" (G_light) {channel="miio:basic:light:fan-level"}
Number mode "Fan - Mode" (G_light) {channel="miio:basic:light:mode"}
Number:Time time-off "Presets - Time Off" (G_light) {channel="miio:basic:light:time-off"}
Number:Temperature pre-colortemp "Presets - Pre Colortemp" (G_light) {channel="miio:basic:light:pre-colortemp"}
Number:Dimensionless pre-brightness "Presets - Pre Brightness" (G_light) {channel="miio:basic:light:pre-brightness"}
Number:Dimensionless pre-speed "Presets - Pre Speed" (G_light) {channel="miio:basic:light:pre-speed"}
Number reversal "Presets - Reversal" (G_light) {channel="miio:basic:light:reversal"}
Number pre-custom "Presets - Pre Custom" (G_light) {channel="miio:basic:light:pre-custom"}
Switch flabellum "Presets - Flabellum" (G_light) {channel="miio:basic:light:flabellum"}
```
### HUIZUO PEGASUS For Living Room (huayi.light.peg091) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "HUIZUO PEGASUS For Living Room" <status>
Switch on "Light - Switch Status" (G_light) {channel="miio:basic:light:on"}
Number:Dimensionless brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"}
Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number:Temperature color-temperature "Light - Color Temperature" (G_light) {channel="miio:basic:light:color-temperature"}
```
@@ -4575,8 +4701,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own
```java
Group G_light "HUIZUO PEGASUS For Bedroom" <status>
Switch on "Light - Switch Status" (G_light) {channel="miio:basic:light:on"}
Number:Dimensionless brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"}
Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number:Temperature color-temperature "Light - Color Temperature" (G_light) {channel="miio:basic:light:color-temperature"}
```
@@ -4586,8 +4712,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own
```java
Group G_light "HUIZUO PISCES For Bedroom" <status>
Switch on "Light - Switch Status" (G_light) {channel="miio:basic:light:on"}
Number:Dimensionless brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"}
Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number:Temperature color-temperature "Light - Color Temperature" (G_light) {channel="miio:basic:light:color-temperature"}
```
@@ -4597,8 +4723,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own
```java
Group G_light "HUIZUO PISCES For Living Room" <status>
Switch on "Light - Switch Status" (G_light) {channel="miio:basic:light:on"}
Number:Dimensionless brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"}
Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number:Temperature color-temperature "Light - Color Temperature" (G_light) {channel="miio:basic:light:color-temperature"}
```
@@ -4608,8 +4734,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own
```java
Group G_light "HUIZUO TAURUS For Bedroom" <status>
Switch on "Light - Switch Status" (G_light) {channel="miio:basic:light:on"}
Number:Dimensionless brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"}
Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number:Temperature color-temperature "Light - Color Temperature" (G_light) {channel="miio:basic:light:color-temperature"}
```
@@ -4619,8 +4745,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own
```java
Group G_light "HUIZUO TAURUS For Living Room" <status>
Switch on "Light - Switch Status" (G_light) {channel="miio:basic:light:on"}
Number:Dimensionless brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"}
Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number:Temperature color-temperature "Light - Color Temperature" (G_light) {channel="miio:basic:light:color-temperature"}
```
@@ -4630,8 +4756,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own
```java
Group G_light "HUIZUO VIRGO For Bedroom" <status>
Switch on "Light - Switch Status" (G_light) {channel="miio:basic:light:on"}
Number:Dimensionless brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"}
Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number:Temperature color-temperature "Light - Color Temperature" (G_light) {channel="miio:basic:light:color-temperature"}
```
@@ -4641,8 +4767,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own
```java
Group G_light "HUIZUO VIRGO For Living Room" <status>
Switch on "Light - Switch Status" (G_light) {channel="miio:basic:light:on"}
Number:Dimensionless brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"}
Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number:Temperature color-temperature "Light - Color Temperature" (G_light) {channel="miio:basic:light:color-temperature"}
```
@@ -4652,19 +4778,89 @@ note: Autogenerated example. Replace the id (light) in the channel with your own
```java
Group G_light "HUIZUO Ceiling Light" <status>
Switch on "Light - Switch Status" (G_light) {channel="miio:basic:light:on"}
Number:Dimensionless brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"}
Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number:Temperature color-temperature "Light - Color Temperature" (G_light) {channel="miio:basic:light:color-temperature"}
```
### HUIZUO LIANGCHEN(BLE Mesh) (huayi.light.wy200) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "HUIZUO LIANGCHEN(BLE Mesh)" <status>
Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"}
Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number:Temperature color-temperature "Light - Color Temperature" (G_light) {channel="miio:basic:light:color-temperature"}
```
### HUIZUO SAG Downlight (BLE Mesh) (huayi.light.wy201) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "HUIZUO SAG Downlight (BLE Mesh)" <status>
Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"}
Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number:Temperature color-temperature "Light - Color Temperature" (G_light) {channel="miio:basic:light:color-temperature"}
```
### HUIZUO Bulb (BLE Mesh) (huayi.light.wy202) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "HUIZUO Bulb (BLE Mesh)" <status>
Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"}
Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number:Temperature color-temperature "Light - Color Temperature" (G_light) {channel="miio:basic:light:color-temperature"}
```
### HUIZUO YONG Downlight (BLE Mesh) (huayi.light.wy203) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "HUIZUO YONG Downlight (BLE Mesh)" <status>
Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"}
Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number:Temperature color-temperature "Light - Color Temperature" (G_light) {channel="miio:basic:light:color-temperature"}
```
### huayi.light.wy204 (huayi.light.wy204) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "huayi.light.wy204" <status>
Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"}
Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number:Temperature color-temperature "Light - Color Temperature" (G_light) {channel="miio:basic:light:color-temperature"}
```
### HUIZUO Heating Lamp (huayi.light.wyheat) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "HUIZUO Heating Lamp" <status>
Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"}
Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number:Temperature color-temperature "Light - Color Temperature" (G_light) {channel="miio:basic:light:color-temperature"}
Switch on1 "Heater - Power" (G_light) {channel="miio:basic:light:on1"}
Number fault "Heater - Device Fault" (G_light) {channel="miio:basic:light:fault"}
Number heat-level "Heater - Heat Level" (G_light) {channel="miio:basic:light:heat-level"}
Switch screenshow "Other - Screenshow" (G_light) {channel="miio:basic:light:screenshow"}
```
### HUIZUO ZIWEI Ceiling Lamp (huayi.light.zw131) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "HUIZUO ZIWEI Ceiling Lamp" <status>
Switch on "Light - Switch Status" (G_light) {channel="miio:basic:light:on"}
Number:Dimensionless brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"}
Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number:Temperature color-temperature "Light - Color Temperature" (G_light) {channel="miio:basic:light:color-temperature"}
```