# 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 |
|------------------------------|------------------|------------------------|-----------|------------|
| 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 |
| 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 | |
| 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
```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"}
```
```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
```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"}
```
```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"}
```
```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"}
```
```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"}
```
```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"}
```
```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"}
```
```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"}
```
```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"}
```
```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
```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"}
```
--- /dev/null
+{
+ "deviceMapping": {
+ "id": [
+ "huayi.light.fanwy2"
+ ],
+ "propertyMethod": "get_properties",
+ "maxProperties": 1,
+ "channels": [
+ {
+ "property": "on",
+ "siid": 2,
+ "piid": 1,
+ "friendlyName": "Light - Power",
+ "channel": "on",
+ "type": "Switch",
+ "refresh": true,
+ "actions": [
+ {
+ "command": "set_properties",
+ "parameterType": "ONOFFBOOL"
+ }
+ ],
+ "category": "light",
+ "tags": [
+ "Switch"
+ ]
+ },
+ {
+ "property": "brightness",
+ "siid": 2,
+ "piid": 2,
+ "friendlyName": "Light - Brightness",
+ "channel": "brightness",
+ "type": "Dimmer",
+ "unit": "percentage",
+ "stateDescription": {
+ "minimum": 1,
+ "maximum": 100,
+ "step": 1,
+ "pattern": "%.0f %unit%"
+ },
+ "refresh": true,
+ "actions": [
+ {
+ "command": "set_properties",
+ "parameterType": "NUMBER"
+ }
+ ],
+ "category": "light",
+ "tags": [
+ "Setpoint",
+ "Light"
+ ]
+ },
+ {
+ "property": "color-temperature",
+ "siid": 2,
+ "piid": 3,
+ "friendlyName": "Light - Color Temperature",
+ "channel": "color-temperature",
+ "type": "Number:Temperature",
+ "unit": "kelvin",
+ "stateDescription": {
+ "minimum": 3000,
+ "maximum": 5700,
+ "step": 1,
+ "pattern": "%.1f %unit%"
+ },
+ "refresh": true,
+ "actions": [
+ {
+ "command": "set_properties",
+ "parameterType": "STRING"
+ }
+ ]
+ },
+ {
+ "property": "on1",
+ "siid": 3,
+ "piid": 1,
+ "friendlyName": "Fan - Power",
+ "channel": "on1",
+ "type": "Switch",
+ "refresh": true,
+ "actions": [
+ {
+ "command": "set_properties",
+ "parameterType": "ONOFFBOOL"
+ }
+ ],"category": "fan",
+ "tags": [
+ "Switch"
+ ]
+ },
+ {
+ "property": "fan-level",
+ "siid": 3,
+ "piid": 2,
+ "friendlyName": "Fan - Fan Level",
+ "channel": "fan-level",
+ "type": "Number:Dimensionless",
+ "unit": "percentage",
+ "stateDescription": {
+ "minimum": 1.0,
+ "maximum": 100.0,
+ "step": 1.0,
+ "pattern": "%.0f %unit%"
+ },
+ "refresh": true,
+ "actions": [
+ {
+ "command": "set_properties",
+ "parameterType": "NUMBER"
+ }
+ ]
+ },
+ {
+ "property": "mode",
+ "siid": 3,
+ "piid": 3,
+ "friendlyName": "Fan - Mode",
+ "channel": "mode",
+ "type": "Number",
+ "stateDescription": {
+ "options": [
+ {
+ "value": "0",
+ "label": "Basic"
+ },
+ {
+ "value": "1",
+ "label": "Natural Wind"
+ }
+ ]
+ },
+ "refresh": true,
+ "actions": [
+ {
+ "command": "set_properties",
+ "parameterType": "NUMBER"
+ }
+ ],
+ "readmeComment": "Value mapping [0\u003d\"Basic\",1\u003d\"Natural Wind\"]"
+ },
+ {
+ "property": "time-off",
+ "siid": 4,
+ "piid": 1,
+ "friendlyName": "Presets - Time Off",
+ "channel": "time-off",
+ "type": "Number:Time",
+ "unit": "minutes",
+ "stateDescription": {
+ "minimum": 1,
+ "maximum": 1440,
+ "step": 1,
+ "pattern": "%.1f %unit%"
+ },
+ "refresh": true,
+ "actions": [
+ {
+ "command": "set_properties",
+ "parameterType": "STRING"
+ }
+ ]
+ },
+ {
+ "property": "pre-colortemp",
+ "siid": 4,
+ "piid": 2,
+ "friendlyName": "Presets - Pre Colortemp",
+ "channel": "pre-colortemp",
+ "type": "Number:Temperature",
+ "unit": "kelvin",
+ "stateDescription": {
+ "minimum": 3000,
+ "maximum": 5700,
+ "step": 1,
+ "pattern": "%.1f %unit%"
+ },
+ "refresh": true,
+ "actions": [
+ {
+ "command": "set_properties",
+ "parameterType": "STRING"
+ }
+ ]
+ },
+ {
+ "property": "pre-brightness",
+ "siid": 4,
+ "piid": 3,
+ "friendlyName": "Presets - Pre Brightness",
+ "channel": "pre-brightness",
+ "type": "Number:Dimensionless",
+ "unit": "percentage",
+ "stateDescription": {
+ "minimum": 1.0,
+ "maximum": 100.0,
+ "step": 1.0,
+ "pattern": "%.0f %unit%"
+ },
+ "refresh": true,
+ "actions": [
+ {
+ "command": "set_properties",
+ "parameterType": "NUMBER"
+ }
+ ]
+ },
+ {
+ "property": "pre-speed",
+ "siid": 4,
+ "piid": 4,
+ "friendlyName": "Presets - Pre Speed",
+ "channel": "pre-speed",
+ "type": "Number:Dimensionless",
+ "unit": "percentage",
+ "stateDescription": {
+ "minimum": 1.0,
+ "maximum": 100.0,
+ "step": 1.0,
+ "pattern": "%.0f %unit%"
+ },
+ "refresh": true,
+ "actions": [
+ {
+ "command": "set_properties",
+ "parameterType": "NUMBER"
+ }
+ ]
+ },
+ {
+ "property": "reversal",
+ "siid": 4,
+ "piid": 5,
+ "friendlyName": "Presets - Reversal",
+ "channel": "reversal",
+ "type": "Number",
+ "stateDescription": {
+ "options": [
+ {
+ "value": "0",
+ "label": "Postitive"
+ },
+ {
+ "value": "1",
+ "label": "Reverse"
+ }
+ ]
+ },
+ "refresh": true,
+ "actions": [
+ {
+ "command": "set_properties",
+ "parameterType": "NUMBER"
+ }
+ ],
+ "readmeComment": "Value mapping [0\u003d\"Positive\",1\u003d\"Reverse\"]"
+ },
+ {
+ "property": "pre-custom",
+ "siid": 4,
+ "piid": 7,
+ "friendlyName": "Presets - Pre Custom",
+ "channel": "pre-custom",
+ "type": "Number",
+ "stateDescription": {
+ "options": [
+ {
+ "value": "0",
+ "label": "Switch Off"
+ },
+ {
+ "value": "1",
+ "label": "Open"
+ }
+ ]
+ },
+ "refresh": true,
+ "actions": [
+ {
+ "command": "set_properties",
+ "parameterType": "STRING"
+ }
+ ],
+ "readmeComment": "Value mapping [0\u003d\"Switch Off\",1\u003d\"Open\"]"
+ },
+ {
+ "property": "flabellum",
+ "siid": 4,
+ "piid": 8,
+ "friendlyName": "Presets - Flabellum",
+ "channel": "flabellum",
+ "type": "Switch",
+ "refresh": true,
+ "actions": [
+ {
+ "command": "set_properties",
+ "parameterType": "ONOFFBOOL"
+ }
+ ]
+ }
+ ],
+ "experimental": true
+ }
+}