[miio] Move (remaining) channel details to json files (#11568)

Move remaining channel details to the respective channels to simplify
and avoid mistakes/errors.

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
Marcel 2021-11-20 12:32:10 +01:00 committed by GitHub
parent d0837ae8a2
commit bd49ad40b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
42 changed files with 494 additions and 961 deletions

View File

@ -811,7 +811,7 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| Channel | Type | Description | Comment |
|----------------------|----------------------|------------------------------------------|------------|
| power | Switch | Power | |
| airFreshMode | String | Mode | |
| airFreshMode | String | Mode | Value mapping `["auto"="Auto","sleep"="Sleep","favourite"="Favorite"]` |
| airFreshPTCPower | Switch | PTC | |
| airFreshPTCStatus | Switch | PTC Status | |
| airFreshDisplay | Switch | Display | |
@ -831,11 +831,11 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| Channel | Type | Description | Comment |
|----------------------|----------------------|------------------------------------------|------------|
| power | Switch | Power | |
| airFreshMode | String | Mode | |
| airFreshMode | String | Mode | Value mapping `["auto"="Auto","sleep"="Sleep","favourite"="Favorite"]` |
| airFreshPTCPower | Switch | PTC | |
| airFreshPtcLevel | String | PTC Level | |
| airFreshPtcLevel | String | PTC Level | Value mapping `["low"="Low","medium"="Medium","high"="High"]` |
| airFreshPTCStatus | Switch | PTC Status | |
| airFreshDisplayDirection | String | Screen direction | |
| airFreshDisplayDirection | String | Screen direction | Value mapping `["forward"="Normal","left"="Left","right"="Right"]` |
| airFreshDisplay | Switch | Display | |
| airFreshChildLock | Switch | Child Lock | |
| airFreshSound | Switch | Sound | |
@ -1427,14 +1427,16 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| Channel | Type | Description | Comment |
|----------------------|----------------------|------------------------------------------|------------|
| fault | Number | Curtain - Device Fault | Value mapping `["0"="No faults"]` |
| current-position | Number | Curtain - Current Position | |
| motor_control | Number | Curtain - Motor Control | Value mapping `["0"="Pause","1"="Open","2"="Close","3"="auto"]` |
| current-position | Number:Dimensionless | Curtain - Current Position | |
| status | Number | Curtain - Status | Value mapping `["0"="Stopped","1"="Opening","2"="Closing"]` |
| target-position | Number | Curtain - Target Position | |
| target-position | Number:Dimensionless | Curtain - Target Position | |
| manual-enabled | Number | curtain_cfg - Manual Enabled | Value mapping `["0"="Disable","1"="Enable"]` |
| polarity | Number | curtain_cfg - Polarity | Value mapping `["0"="Positive","1"="Reverse"]` |
| polarity | Number | Curtain_cfg - Polarity | Value mapping `["0"="Positive","1"="Reverse"]` |
| pos-limit | Number | curtain_cfg - Position Limit | Value mapping `["0"="Unlimit","1"="Limit"]` |
| en-night-tip-light | Switch | Set Night Tip Light | Value mapping `["0"="Disable","1"="Enable"]` |
| run-time | Number | curtain_cfg - Run-time | |
| en_night_tip_light | Number | Curtain_cfg - En_night_tip_light | Value mapping `["0"="Disable","1"="Enable"]` |
| run-time | Number | Curtain_cfg - Run-time | |
| adjust_value | Number | Motor_controller - Adjust_value | |
### Mi Air Purifier virtual (<a name="lumi-gateway-mgl03">lumi.gateway.mgl03</a>) Channels
@ -1772,6 +1774,7 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
| actions | String | Actions | Value mapping `["light-brightness-down"="Light Brightness Down","light-brightness-up"="Light Brightness Up","light-toggle"="Light Toggle"]` |
### Philips ZhiRui Downlight (<a name="philips-light-downlight">philips.light.downlight</a>) Channels
@ -1875,6 +1878,7 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
| actions | String | Actions | Value mapping `["light-brightness-down"="Light Brightness Down","light-brightness-up"="Light Brightness Up","light-toggle"="Light Toggle"]` |
### Zhirui Ceiling Lamp Nordic 40W (<a name="philips-light-mceilm">philips.light.mceilm</a>) Channels
@ -1890,6 +1894,7 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
| actions | String | Actions | Value mapping `["light-brightness-down"="Light Brightness Down","light-brightness-up"="Light Brightness Up","light-toggle"="Light Toggle"]` |
### Zhirui Ceiling Lamp Nordic 28W (<a name="philips-light-mceils">philips.light.mceils</a>) Channels
@ -1905,6 +1910,7 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
| actions | String | Actions | Value mapping `["light-brightness-down"="Light Brightness Down","light-brightness-up"="Light Brightness Up","light-toggle"="Light Toggle"]` |
### Philips Smart Lamp (<a name="philips-light-mono1">philips.light.mono1</a>) Channels
@ -1941,6 +1947,7 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
| actions | String | Actions | Value mapping `["light-brightness-down"="Light Brightness Down","light-brightness-up"="Light Brightness Up","light-toggle"="Light Toggle"]` |
### Zhirui Ceiling Lamp Black 40W (<a name="philips-light-obceim">philips.light.obceim</a>) Channels
@ -1956,6 +1963,7 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
| actions | String | Actions | Value mapping `["light-brightness-down"="Light Brightness Down","light-brightness-up"="Light Brightness Up","light-toggle"="Light Toggle"]` |
### Zhirui Ceiling Lamp Black 28W (<a name="philips-light-obceis">philips.light.obceis</a>) Channels
@ -1971,6 +1979,7 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
| actions | String | Actions | Value mapping `["light-brightness-down"="Light Brightness Down","light-brightness-up"="Light Brightness Up","light-toggle"="Light Toggle"]` |
### Mijia Philips Study Desk Lamp (<a name="philips-light-rwread">philips.light.rwread</a>) Channels
@ -1996,6 +2005,7 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
| actions | String | Actions | Value mapping `["light-brightness-down"="Light Brightness Down","light-brightness-up"="Light Brightness Up","light-toggle"="Light Toggle"]` |
### Zhirui Ceiling Lamp Starry 40W (<a name="philips-light-sceilm">philips.light.sceilm</a>) Channels
@ -2011,6 +2021,7 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
| actions | String | Actions | Value mapping `["light-brightness-down"="Light Brightness Down","light-brightness-up"="Light Brightness Up","light-toggle"="Light Toggle"]` |
### Zhirui Ceiling Lamp Starry 28W (<a name="philips-light-sceils">philips.light.sceils</a>) Channels
@ -2026,6 +2037,7 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
| actions | String | Actions | Value mapping `["light-brightness-down"="Light Brightness Down","light-brightness-up"="Light Brightness Up","light-toggle"="Light Toggle"]` |
### Philips EyeCare Connected Desk Lamp gen2. (<a name="philips-light-sread1">philips.light.sread1</a>) Channels
@ -2077,6 +2089,7 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
| actions | String | Actions | Value mapping `["light-brightness-down"="Light Brightness Down","light-brightness-up"="Light Brightness Up","light-toggle"="Light Toggle"]` |
### Zhirui Ceiling Lamp Gorgeous 40W (<a name="philips-light-xzceim">philips.light.xzceim</a>) Channels
@ -2092,6 +2105,7 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
| actions | String | Actions | Value mapping `["light-brightness-down"="Light Brightness Down","light-brightness-up"="Light Brightness Up","light-toggle"="Light Toggle"]` |
### Zhirui Ceiling Lamp Gorgeous 28W (<a name="philips-light-xzceis">philips.light.xzceis</a>) Channels
@ -2107,6 +2121,7 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
| actions | String | Actions | Value mapping `["light-brightness-down"="Light Brightness Down","light-brightness-up"="Light Brightness Up","light-toggle"="Light Toggle"]` |
### Philips ZhiYi Ceiling lamp (<a name="philips-light-zyceiling">philips.light.zyceiling</a>) Channels
@ -2209,7 +2224,7 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| Channel | Type | Description | Comment |
|----------------------|----------------------|------------------------------------------|------------|
| vacuumaction | Number | Vacuum Action | |
| vacuumaction | Number | Vacuum Action | Value mapping `["1"="Start","0"="Stop","2"="Pause"]` |
| state | Number | State | |
| mode | Number | Mode | |
| err_state | Number | Error | |
@ -2229,7 +2244,7 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| Channel | Type | Description | Comment |
|----------------------|----------------------|------------------------------------------|------------|
| vacuumaction | Number | Vacuum Action | |
| vacuumaction | Number | Vacuum Action | Value mapping `["1"="Start","0"="Stop","2"="Pause"]` |
| state | Number | State | |
| mode | Number | Mode | |
| err_state | Number | Error | |
@ -2249,7 +2264,7 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| Channel | Type | Description | Comment |
|----------------------|----------------------|------------------------------------------|------------|
| vacuumaction | Number | Vacuum Action | |
| vacuumaction | Number | Vacuum Action | Value mapping `["1"="Start","0"="Stop","2"="Pause"]` |
| state | Number | State | |
| mode | Number | Mode | |
| err_state | Number | Error | |
@ -4976,7 +4991,7 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| speedLevel | Number | Speed Level | |
| speed | Number | Speed | |
| naturalLevel | Number | Natural Level | |
| move | String | Move Direction | |
| move | String | Move Direction | Value mapping `[""="None","left"="Left","right"="Right"]` |
### Smartmi Standing Fan 2S (<a name="zhimi-fan-za4">zhimi.fan.za4</a>) Channels
@ -4993,7 +5008,7 @@ Note, not all the values need to be in the json file, e.g. a subset of the param
| speedLevel | Number | Speed Level | |
| speed | Number | Speed | |
| naturalLevel | Number | Natural Level | |
| move | String | Move Direction | |
| move | String | Move Direction | Value mapping `[""="None","left"="Left","right"="Right"]` |
### Smartmi Standing Fan 3 (<a name="zhimi-fan-za5">zhimi.fan.za5</a>) Channels
@ -6320,14 +6335,16 @@ note: Autogenerated example. Replace the id (curtain) in the channel with your o
```
Group G_curtain "Xiaomiyoupin Curtain Controller (Wi-Fi)" <status>
Number fault "Curtain - Device Fault" (G_curtain) {channel="miio:basic:curtain:fault"}
Number current_position "Curtain - Current Position" (G_curtain) {channel="miio:basic:curtain:current-position"}
Number motor_control "Curtain - Motor Control" (G_curtain) {channel="miio:basic:curtain:motor_control"}
Number:Dimensionless current_position "Curtain - Current Position" (G_curtain) {channel="miio:basic:curtain:current-position"}
Number status "Curtain - Status" (G_curtain) {channel="miio:basic:curtain:status"}
Number target_position "Curtain - Target Position" (G_curtain) {channel="miio:basic:curtain:target-position"}
Number:Dimensionless target_position "Curtain - Target Position" (G_curtain) {channel="miio:basic:curtain:target-position"}
Number manual_enabled "curtain_cfg - Manual Enabled" (G_curtain) {channel="miio:basic:curtain:manual-enabled"}
Number polarity "curtain_cfg - Polarity" (G_curtain) {channel="miio:basic:curtain:polarity"}
Number polarity "Curtain_cfg - Polarity" (G_curtain) {channel="miio:basic:curtain:polarity"}
Number pos_limit "curtain_cfg - Position Limit" (G_curtain) {channel="miio:basic:curtain:pos-limit"}
Switch en_night_tip_light "Set Night Tip Light" (G_curtain) {channel="miio:basic:curtain:en-night-tip-light"}
Number run_time "curtain_cfg - Run-time" (G_curtain) {channel="miio:basic:curtain:run-time"}
Number en_night_tip_light "Curtain_cfg - En_night_tip_light" (G_curtain) {channel="miio:basic:curtain:en_night_tip_light"}
Number run_time "Curtain_cfg - Run-time" (G_curtain) {channel="miio:basic:curtain:run-time"}
Number adjust_value "Motor_controller - Adjust_value" (G_curtain) {channel="miio:basic:curtain:adjust_value"}
```
### Mi Air Purifier virtual (lumi.gateway.mgl03) item file lines
@ -6737,6 +6754,7 @@ String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
String actions "Actions" (G_light) {channel="miio:basic:light:actions"}
```
### Philips ZhiRui Downlight (philips.light.downlight) item file lines
@ -6861,6 +6879,7 @@ String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
String actions "Actions" (G_light) {channel="miio:basic:light:actions"}
```
### Zhirui Ceiling Lamp Nordic 40W (philips.light.mceilm) item file lines
@ -6879,6 +6898,7 @@ String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
String actions "Actions" (G_light) {channel="miio:basic:light:actions"}
```
### Zhirui Ceiling Lamp Nordic 28W (philips.light.mceils) item file lines
@ -6897,6 +6917,7 @@ String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
String actions "Actions" (G_light) {channel="miio:basic:light:actions"}
```
### Philips Smart Lamp (philips.light.mono1) item file lines
@ -6942,6 +6963,7 @@ String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
String actions "Actions" (G_light) {channel="miio:basic:light:actions"}
```
### Zhirui Ceiling Lamp Black 40W (philips.light.obceim) item file lines
@ -6960,6 +6982,7 @@ String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
String actions "Actions" (G_light) {channel="miio:basic:light:actions"}
```
### Zhirui Ceiling Lamp Black 28W (philips.light.obceis) item file lines
@ -6978,6 +7001,7 @@ String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
String actions "Actions" (G_light) {channel="miio:basic:light:actions"}
```
### Mijia Philips Study Desk Lamp (philips.light.rwread) item file lines
@ -7009,6 +7033,7 @@ String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
String actions "Actions" (G_light) {channel="miio:basic:light:actions"}
```
### Zhirui Ceiling Lamp Starry 40W (philips.light.sceilm) item file lines
@ -7027,6 +7052,7 @@ String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
String actions "Actions" (G_light) {channel="miio:basic:light:actions"}
```
### Zhirui Ceiling Lamp Starry 28W (philips.light.sceils) item file lines
@ -7045,6 +7071,7 @@ String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
String actions "Actions" (G_light) {channel="miio:basic:light:actions"}
```
### Philips EyeCare Connected Desk Lamp gen2. (philips.light.sread1) item file lines
@ -7108,6 +7135,7 @@ String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
String actions "Actions" (G_light) {channel="miio:basic:light:actions"}
```
### Zhirui Ceiling Lamp Gorgeous 40W (philips.light.xzceim) item file lines
@ -7126,6 +7154,7 @@ String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
String actions "Actions" (G_light) {channel="miio:basic:light:actions"}
```
### Zhirui Ceiling Lamp Gorgeous 28W (philips.light.xzceis) item file lines
@ -7144,6 +7173,7 @@ String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
String actions "Actions" (G_light) {channel="miio:basic:light:actions"}
```
### Philips ZhiYi Ceiling lamp (philips.light.zyceiling) item file lines

View File

@ -48,6 +48,9 @@ public class MiIoBasicChannel {
@SerializedName("channel")
@Expose
private @Nullable String channel;
@SerializedName("description")
@Expose
private @Nullable String description;
@SerializedName("channelType")
@Expose
private @Nullable String channelType;
@ -142,6 +145,15 @@ public class MiIoBasicChannel {
this.channel = channel;
}
public String getDescription() {
final String description = this.description;
return description != null ? description : "";
}
public void setDescription(@Nullable String description) {
this.description = description;
}
public String getChannelType() {
final @Nullable String ct = channelType;
if (ct == null || ct.isEmpty()) {

View File

@ -82,18 +82,6 @@
<state readOnly="true"/>
</channel-type>
<!-- Generic Numeric QtyType channels -->
<channel-type id="temperatureRW">
<item-type>Number:Temperature</item-type>
<label>Temperature</label>
<state pattern="%.1f %unit%"/>
</channel-type>
<channel-type id="time">
<item-type>Number:Time</item-type>
<label>Hours</label>
<state readOnly="true" pattern="%.0f %unit%"/>
</channel-type>
<!-- Common Actions channels -->
<channel-type id="commands" advanced="true">
<item-type>String</item-type>
@ -107,716 +95,5 @@
<item-type>Switch</item-type>
<label>Power On/Off</label>
</channel-type>
<channel-type id="ambientPower">
<item-type>Switch</item-type>
<label>Ambient Power On/Off</label>
</channel-type>
<channel-type id="eyecare">
<item-type>Switch</item-type>
<label>Eyecare Mode On/Off</label>
</channel-type>
<channel-type id="clean">
<item-type>Switch</item-type>
<label>Cleaning On/Off</label>
</channel-type>
<channel-type id="mode">
<item-type>String</item-type>
<label>Mode</label>
</channel-type>
<channel-type id="modeGreen">
<item-type>String</item-type>
<label>Mode</label>
<state>
<options>
<option value="green">Green</option>
<option value="normal">Normal</option>
</options>
</state>
</channel-type>
<channel-type id="brightness">
<item-type>Number</item-type>
<label>Brightness</label>
</channel-type>
<channel-type id="ambientBrightness">
<item-type>Number</item-type>
<label>Ambient Brightness</label>
</channel-type>
<channel-type id="nightlightBrightness">
<item-type>Number</item-type>
<label>Nightlight Brightness</label>
</channel-type>
<channel-type id="illumination">
<item-type>Number</item-type>
<label>Environment Illumination</label>
</channel-type>
<channel-type id="led">
<item-type>Switch</item-type>
<label>LED</label>
</channel-type>
<channel-type id="colorMode">
<item-type>Number</item-type>
<label>Color Mode</label>
</channel-type>
<channel-type id="ambientColorMode">
<item-type>Number</item-type>
<label>Ambient Color Mode</label>
</channel-type>
<channel-type id="colorTemperature">
<item-type>Number</item-type>
<label>Color Temperature</label>
</channel-type>
<channel-type id="ambientColorTemperature">
<item-type>Number</item-type>
<label>Ambient Color Temperature</label>
</channel-type>
<channel-type id="cct">
<item-type>Number</item-type>
<label>Correlated Color Temperature</label>
</channel-type>
<channel-type id="scene">
<item-type>Number</item-type>
<label>Scene</label>
</channel-type>
<channel-type id="customScene">
<item-type>String</item-type>
<label>Custom Scene</label>
</channel-type>
<channel-type id="dv">
<item-type>Number</item-type>
<label>DV</label>
</channel-type>
<channel-type id="delayoff">
<item-type>Number</item-type>
<label>Delay Off</label>
</channel-type>
<channel-type id="act_det">
<item-type>Switch</item-type>
<label>AirAutoDetect</label>
</channel-type>
<channel-type id="buzzer">
<item-type>Switch</item-type>
<label>Buzzer</label>
</channel-type>
<channel-type id="childlock">
<item-type>Switch</item-type>
<label>Child Lock</label>
</channel-type>
<channel-type id="color">
<item-type>Color</item-type>
<label>Color</label>
</channel-type>
<channel-type id="ambientColor">
<item-type>Color</item-type>
<label>Ambient Color</label>
</channel-type>
<channel-type id="setHumidity">
<item-type>Number</item-type>
<label>Humidity Set</label>
</channel-type>
<!-- Common Properties channels -->
<channel-type id="temperature">
<item-type>Number</item-type>
<label>Temperature</label>
<state pattern="%.1f" readOnly="true"/>
</channel-type>
<channel-type id="temperatureC">
<item-type>Number:Temperature</item-type>
<label>Temperature</label>
<state readOnly="true" pattern="%.1f %unit%"/>
</channel-type>
<channel-type id="humidity">
<item-type>Number</item-type>
<label>Humidity</label>
<state pattern="%.1f %%" readOnly="true"/>
</channel-type>
<channel-type id="pm25">
<item-type>Number</item-type>
<label>PM2.5</label>
<description>Particulate Matter 2.5</description>
<state pattern="%.1f" readOnly="true"/>
</channel-type>
<channel-type id="co2">
<item-type>Number</item-type>
<label>CO2</label>
<description>Carbon Dioxide</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="tvoc">
<item-type>Number</item-type>
<label>tVOC</label>
<description>Total Volatile Organic Compounds</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="aqi">
<item-type>Number</item-type>
<label>Air Quality Index</label>
<state readOnly="true"/>
</channel-type>
<channel-type id="averageaqi">
<item-type>Number</item-type>
<label>Air Quality Index Average</label>
<state readOnly="true"/>
</channel-type>
<channel-type id="favoritelevel">
<item-type>Number</item-type>
<label>Favorite_level</label>
<state pattern="%.0f"/>
</channel-type>
<channel-type id="filtermaxlife">
<item-type>Number</item-type>
<label>Filter Max Life</label>
<state readOnly="true"/>
</channel-type>
<channel-type id="filterhours">
<item-type>Number:Time</item-type>
<label>Filter Use Time</label>
<state pattern="%.0f %unit%" readOnly="true"/>
</channel-type>
<channel-type id="usedhours">
<item-type>Number:Time</item-type>
<label>Run Time</label>
<state pattern="%.0f %unit%" readOnly="true"/>
</channel-type>
<channel-type id="powerhours">
<item-type>Number:Time</item-type>
<label>Powered On Time</label>
<state pattern="%.0f %unit%" readOnly="true"/>
</channel-type>
<channel-type id="motorspeed">
<item-type>Number</item-type>
<label>Motor Speed</label>
<state pattern="%.0f rpm" readOnly="true"/>
</channel-type>
<channel-type id="filterlive">
<item-type>Number</item-type>
<label>Filter Life</label>
<state pattern="%.0f%%" readOnly="true"/>
</channel-type>
<channel-type id="purifyvolume">
<item-type>Number</item-type>
<label>Volume Purified</label>
<state pattern="%.0f m3" readOnly="true"/>
</channel-type>
<channel-type id="current">
<item-type>Number</item-type>
<label>Current</label>
<state pattern="%.2fA" readOnly="true"/>
</channel-type>
<channel-type id="powerUsage">
<item-type>Number</item-type>
<label>Power Usage</label>
<state pattern="%.0fW" readOnly="true"/>
</channel-type>
<channel-type id="powerPrice">
<item-type>Number</item-type>
<label>Power Price</label>
<state pattern="%.0f kW/h"/>
</channel-type>
<channel-type id="translevel">
<item-type>Number</item-type>
<label>Trans Level</label>
</channel-type>
<channel-type id="waterlevel">
<item-type>Number</item-type>
<label>Water Level</label>
<state pattern="%.0f %%"/>
</channel-type>
<channel-type id="dry">
<item-type>Switch</item-type>
<label>Dry</label>
</channel-type>
<channel-type id="depth">
<item-type>Number</item-type>
<label>Depth</label>
</channel-type>
<channel-type id="angleEnable">
<item-type>Switch</item-type>
<label>Enable Angle</label>
</channel-type>
<channel-type id="angle">
<item-type>Number</item-type>
<label>Angle</label>
<state min="0" max="360" step="1" pattern="%.0f" readOnly="false"/>
</channel-type>
<channel-type id="move">
<item-type>String</item-type>
<label>Move</label>
<state>
<options>
<option value="left">left</option>
<option value="right">right</option>
</options>
</state>
</channel-type>
<channel-type id="poweroffTime">
<item-type>Number</item-type>
<label>Power Off Timer</label>
<state min="0" max="28800" step="1" pattern="%.0f" readOnly="false"/>
</channel-type>
<channel-type id="speed">
<item-type>Number</item-type>
<label>Speed</label>
<state pattern="%.0f" readOnly="false"/>
</channel-type>
<channel-type id="speedLevel">
<item-type>Number</item-type>
<label>Speed Level</label>
<state min="0" max="99" step="1" pattern="%.0f%%" readOnly="false"/>
</channel-type>
<channel-type id="naturalLevel">
<item-type>Number</item-type>
<label>Natural Fan Level</label>
<state min="0" max="99" step="1" pattern="%.0f%%" readOnly="false"/>
</channel-type>
<channel-type id="acPower">
<item-type>Switch</item-type>
<label>AC Power</label>
<state readOnly="true"/>
</channel-type>
<channel-type id="bat_state">
<item-type>String</item-type>
<label>Battery State</label>
<state readOnly="true"/>
</channel-type>
<channel-type id="gonight">
<item-type>Switch</item-type>
<label>Go Night</label>
<state readOnly="false"/>
</channel-type>
<channel-type id="usb">
<item-type>Switch</item-type>
<label>USB Power</label>
<state readOnly="false"/>
</channel-type>
<channel-type id="humidifierMode">
<item-type>String</item-type>
<label>Mode</label>
<state>
<options>
<option value="auto">Auto</option>
<option value="silent">Silent</option>
<option value="medium">Medium</option>
<option value="high">High</option>
</options>
</state>
</channel-type>
<channel-type id="airFreshMode">
<item-type>String</item-type>
<label>Mode</label>
<state>
<options>
<option value="auto">Auto</option>
<option value="favourite">Favorite</option>
<option value="sleep">Sleep</option>
</options>
</state>
</channel-type>
<channel-type id="airFreshFavoriteSpeed">
<item-type>Number</item-type>
<label>Favorite Speed</label>
<state min="0" max="300" pattern="%.0f" readOnly="false"/>
</channel-type>
<channel-type id="airFreshDisplay">
<item-type>Switch</item-type>
<label>Light On/Off</label>
</channel-type>
<channel-type id="airFreshSound">
<item-type>Switch</item-type>
<label>Sound On/Off</label>
</channel-type>
<channel-type id="airFreshChildLock">
<item-type>Switch</item-type>
<label>Child Lock On/Off</label>
</channel-type>
<channel-type id="airFreshDisplayDirection">
<item-type>String</item-type>
<label>Display Direction</label>
<state>
<options>
<option value="forward">Normal</option>
<option value="left">Counterclockwise 90°</option>
<option value="right">Clockwise 90°</option>
</options>
</state>
</channel-type>
<channel-type id="airFreshPTCPower">
<item-type>Switch</item-type>
<label>PTC Power On/Off</label>
</channel-type>
<channel-type id="airFreshPTCStatus">
<item-type>Switch</item-type>
<label>PTC Status On/Off</label>
<state readOnly="true"/>
</channel-type>
<channel-type id="airFreshPtcLevel">
<item-type>String</item-type>
<label>PTC Level</label>
<state>
<options>
<option value="low">Low</option>
<option value="medium">Medium</option>
<option value="high">High</option>
</options>
</state>
</channel-type>
<channel-type id="airFreshCurrentSpeed">
<item-type>Number</item-type>
<label>Current Speed</label>
<state pattern="%.0f m³/h" readOnly="true"/>
</channel-type>
<channel-type id="airFreshCO2">
<item-type>Number</item-type>
<label>CO2</label>
<state pattern="%.0f" readOnly="true"/>
</channel-type>
<channel-type id="airFreshPM25">
<item-type>Number</item-type>
<label>PM2.5</label>
<state pattern="%.0f" readOnly="true"/>
</channel-type>
<channel-type id="airFreshTemperature">
<item-type>Number</item-type>
<label>Temperature Outside</label>
<state pattern="%.0f°C" readOnly="true"/>
</channel-type>
<channel-type id="airFreshResetFilter">
<item-type>String</item-type>
<label>Reset Filter</label>
<state>
<options>
<option value="intermediate">Reset Filter</option>
<option value="efficient">Reset Filter Pro</option>
</options>
</state>
</channel-type>
<channel-type id="airFreshResetFilterA1">
<item-type>String</item-type>
<label>Reset Filter</label>
<state>
<options>
<option value="">Reset Filter</option>
</options>
</state>
</channel-type>
<channel-type id="airFreshFilterPercents">
<item-type>Number</item-type>
<label>Filter Percents Remaining</label>
<state pattern="%.0f%%" readOnly="true"/>
</channel-type>
<channel-type id="airFreshFilterDays">
<item-type>Number</item-type>
<label>Filter Days Remaining</label>
<state pattern="%.0f" readOnly="true"/>
</channel-type>
<channel-type id="airFreshFilterProPercents">
<item-type>Number</item-type>
<label>Filter Pro Percents Remaining</label>
<state pattern="%.0f%%" readOnly="true"/>
</channel-type>
<channel-type id="airFreshFilterProDays">
<item-type>Number</item-type>
<label>Filter Pro Days Remaining</label>
<state pattern="%.0f" readOnly="true"/>
</channel-type>
<channel-type id="miot_uint8">
<item-type>Number</item-type>
<label>Generic Number</label>
</channel-type>
<channel-type id="miot_int32">
<item-type>Number</item-type>
<label>Generic Number</label>
</channel-type>
<channel-type id="miot_float">
<item-type>Number</item-type>
<label>Generic Number</label>
</channel-type>
<channel-type id="miot_string">
<item-type>String</item-type>
<label>Generic String</label>
</channel-type>
<channel-type id="miot_bool">
<item-type>Switch</item-type>
<label>Generic Bool</label>
</channel-type>
<channel-type id="LumiCurtainHagl05_fault">
<item-type>Number</item-type>
<label>Curtain - Device Fault</label>
<state>
<options>
<option value="0">No faults</option>
</options>
</state>
</channel-type>
<channel-type id="LumiCurtainHagl05_status">
<item-type>Number</item-type>
<label>Curtain - Status</label>
<state>
<options>
<option value="0">Stopped</option>
<option value="1">Opening</option>
<option value="2">Closing</option>
</options>
</state>
</channel-type>
<channel-type id="LumiCurtainHagl05_manual-enabled">
<item-type>Number</item-type>
<label>curtain_cfg - manual_enabled</label>
<state>
<options>
<option value="0">Disable</option>
<option value="1">Enable</option>
</options>
</state>
</channel-type>
<channel-type id="LumiCurtainHagl05_polarity">
<item-type>Number</item-type>
<label>curtain_cfg - polarity</label>
<state>
<options>
<option value="0">Positive</option>
<option value="1">Reverse</option>
</options>
</state>
</channel-type>
<channel-type id="LumiCurtainHagl05_pos-limit">
<item-type>Number</item-type>
<label>curtain_cfg - pos_limit</label>
<state>
<options>
<option value="0">Unlimit</option>
<option value="1">Limit</option>
</options>
</state>
</channel-type>
<channel-type id="LumiCurtainHagl05_en-night-tip-light">
<item-type>Switch</item-type>
<label>curtain_cfg - en_night_tip_light</label>
<state>
<options>
<option value="0">Disable</option>
<option value="1">Enable</option>
</options>
</state>
</channel-type>
<channel-type id="vacuumaction">
<item-type>Number</item-type>
<label>Vacuum Action</label>
<state>
<options>
<option value="0">Stop</option>
<option value="1">Vacuum</option>
<option value="2">Pause</option>
</options>
</state>
</channel-type>
<channel-type id="dreameControl">
<item-type>String</item-type>
<label>Control Vacuum</label>
<command>
<options>
<option value="vacuum">Vacuum</option>
<option value="pause">Pause</option>
<option value="stop">Stop</option>
<option value="dock">Dock</option>
<option value="sweep">Sweep</option>
<option value="stopsweep">Stop Sweep</option>
</options>
</command>
</channel-type>
<channel-type id="MijiaVacuumV2_status">
<item-type>Number</item-type>
<label>Robot Cleaner - Status</label>
<state>
<options>
<option value="1">Idle</option>
<option value="2">Sweeping</option>
<option value="3">Paused</option>
<option value="4">Error</option>
<option value="5">Charging</option>
<option value="6">Go Charging</option>
</options>
</state>
</channel-type>
<channel-type id="MijiaVacuumV2_fault">
<item-type>Number</item-type>
<label>Robot Cleaner - Device Fault</label>
<state>
<options>
<option value="0">No Faults</option>
<option value="1">Left-wheel-error</option>
<option value="2">Right-wheel-error</option>
<option value="3">Cliff-error</option>
<option value="4">Low-battery-error</option>
<option value="5">Bump-error</option>
<option value="6">Main-brush-error</option>
<option value="7">Side-brush-error</option>
<option value="8">Fan-motor-error</option>
<option value="9">Dustbin-error</option>
<option value="10">Charging-error</option>
<option value="11">No-wate-error</option>
<option value="12">Pick-up-error</option>
</options>
</state>
</channel-type>
<channel-type id="MijiaVacuumV2_mode">
<item-type>Number</item-type>
<label>Robot Cleaner - Mode</label>
<state>
<options>
<option value="1">Auto-clean</option>
<option value="2">Spot-clean</option>
<option value="3">Wallflow-clean</option>
</options>
</state>
</channel-type>
<channel-type id="MijiaVacuumV2_target-water-level">
<item-type>Number</item-type>
<label>Robot Cleaner - Target Water Level</label>
<state>
<options>
<option value="1">Level1</option>
<option value="2">Level2</option>
<option value="3">Level3</option>
</options>
</state>
</channel-type>
<channel-type id="MijiaVacuumV2_fan-level">
<item-type>Number</item-type>
<label>Robot Cleaner - Fan Level</label>
<state>
<options>
<option value="0">Silence</option>
<option value="1">Stanrd</option>
<option value="2">Middle</option>
<option value="3">Enchance</option>
</options>
</state>
</channel-type>
<channel-type id="MijiaVacuumV2_charging-state">
<item-type>Number</item-type>
<label>Battery - Charging State</label>
<state>
<options>
<option value="0">Not-charging</option>
<option value="1">Charging</option>
<option value="2">Charging-competely</option>
</options>
</state>
</channel-type>
<channel-type id="MijiaVacuumV2_language">
<item-type>Number</item-type>
<label>Language - Language</label>
<state>
<options>
<option value="0">English</option>
<option value="1">简体中文</option>
<option value="2">Español</option>
<option value="3">Русский</option>
<option value="4">Italiano</option>
<option value="5">Français</option>
<option value="6">Deutsch</option>
<option value="7">한국어</option>
<option value="8">Polski</option>
</options>
</state>
</channel-type>
<channel-type id="MijiaVacuumV2_mop-status">
<item-type>Number</item-type>
<label>Other Status - Mop Status</label>
<state>
<options>
<option value="0">Mop UnInstall</option>
<option value="1">Mop Install</option>
</options>
</state>
</channel-type>
<channel-type id="MijiaVacuumV2_action">
<item-type>String</item-type>
<label>Robot Cleaner - Actions</label>
<state>
<options>
<option value="start">Start Vacuum</option>
<option value="stop">Stop Vacuum</option>
<option value="dock">Go-To Dock</option>
</options>
</state>
</channel-type>
<channel-type id="ZhimiHeaterZa2_target-temperature">
<item-type>Number:Temperature</item-type>
<label>Heater - Target Temperature</label>
<state min="16" max="28" step="1" pattern="%.1f %unit%">
</state>
</channel-type>
<channel-type id="ZhimiHeaterZb1_country-code">
<item-type>Number</item-type>
<label>Private-Service - Country-Code</label>
<state>
<options>
<option value="0">Unknown</option>
<option value="1">US</option>
<option value="7">RU</option>
<option value="33">FR</option>
<option value="44">EU</option>
<option value="81">JP</option>
<option value="82">KR</option>
<option value="86">CN</option>
<option value="852">HK</option>
<option value="886">TW</option>
</options>
</state>
</channel-type>
<channel-type id="humidifierOperationMode">
<item-type>Number</item-type>
<label>Operation Mode</label>
<state>
<options>
<option value="0">Auto</option>
<option value="1">Low</option>
<option value="2">Medium</option>
<option value="3">High</option>
</options>
</state>
</channel-type>
<channel-type id="humidifierLedBrightness">
<item-type>Number</item-type>
<label>LED Brightness</label>
<state>
<options>
<option value="0">Off</option>
<option value="1">Dim</option>
<option value="2">Bright</option>
</options>
</state>
</channel-type>
<channel-type id="humidifierLastPressedButton">
<item-type>Number</item-type>
<label>Last Pressed Button</label>
<state>
<options>
<option value="0">No</option>
<option value="1">LED</option>
<option value="2">Power</option>
</options>
</state>
</channel-type>
<channel-type id="countryCode">
<item-type>Number</item-type>
<label>Country</label>
<state>
<options>
<option value="0">Unlocked</option>
<option value="1">US</option>
<option value="82">KR</option>
<option value="44">EU</option>
<option value="81">JP</option>
<option value="7">RU</option>
<option value="86">CN</option>
<option value="852">HK</option>
<option value="886">TW</option>
<option value="33">FR</option>
</options>
</state>
</channel-type>
</thing:thing-descriptions>

View File

@ -20,8 +20,11 @@
"property": "pm25",
"friendlyName": "PM2.5",
"channel": "pm25",
"channelType": "pm25",
"type": "Number",
"stateDescription": {
"pattern": "%.1f",
"readOnly": true
},
"refresh": true,
"ChannelGroup": "Status",
"actions": []
@ -30,7 +33,7 @@
"property": "co2e",
"friendlyName": "CO2e",
"channel": "co2",
"channelType": "co2",
"description": "Carbon Dioxide",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
@ -43,7 +46,7 @@
"property": "tvoc",
"friendlyName": "tVOC",
"channel": "tvoc",
"channelType": "tvoc",
"description": "Total Volatile Organic Compounds",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",

View File

@ -20,8 +20,11 @@
"property": "pm25",
"friendlyName": "PM2.5",
"channel": "pm25",
"channelType": "pm25",
"type": "Number",
"stateDescription": {
"pattern": "%.1f",
"readOnly": true
},
"refresh": true,
"ChannelGroup": "Status",
"actions": []
@ -30,7 +33,7 @@
"property": "co2",
"friendlyName": "CO2",
"channel": "co2",
"channelType": "co2",
"description": "Carbon Dioxide",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
@ -45,7 +48,7 @@
"property": "tvoc",
"friendlyName": "tVOC",
"channel": "tvoc",
"channelType": "tvoc",
"description": "Total Volatile Organic Compounds",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",

View File

@ -10,7 +10,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -46,7 +45,6 @@
"property": "wifi_led",
"friendlyName": "Indicator light",
"channel": "led",
"channelType": "led",
"type": "Switch",
"refresh": true,
"actions": [

View File

@ -8,7 +8,6 @@
"property": "on",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -26,7 +25,6 @@
"property": "usb_on",
"friendlyName": "USB",
"channel": "usb",
"channelType": "usb",
"type": "Switch",
"refresh": true,
"ChannelGroup": "actions",

View File

@ -8,7 +8,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -26,7 +25,6 @@
"property": "usb_on",
"friendlyName": "USB",
"channel": "usb",
"channelType": "usb",
"type": "Switch",
"refresh": true,
"ChannelGroup": "actions",

View File

@ -10,7 +10,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -29,7 +28,6 @@
"property": "usb_on",
"friendlyName": "USB",
"channel": "usb",
"channelType": "usb",
"type": "Switch",
"refresh": true,
"ChannelGroup": "actions",
@ -62,7 +60,6 @@
"property": "wifi_led",
"friendlyName": "Wifi LED",
"channel": "led",
"channelType": "led",
"type": "Switch",
"refresh": true,
"ChannelGroup": "actions",

View File

@ -12,7 +12,6 @@
"piid": 4,
"friendlyName": "Device Information-CurrentFirmware Version",
"channel": "FirmwareRevision",
"channelType": "miot_string",
"type": "String",
"refresh": true,
"actions": []
@ -23,7 +22,6 @@
"piid": 1,
"friendlyName": "Device Information-Device Manufacturer",
"channel": "Manufacturer",
"channelType": "miot_string",
"type": "String",
"refresh": true,
"actions": []
@ -34,7 +32,6 @@
"piid": 2,
"friendlyName": "Device Information-Device Model",
"channel": "Model",
"channelType": "miot_string",
"type": "String",
"refresh": true,
"actions": []
@ -45,7 +42,6 @@
"piid": 3,
"friendlyName": "Device Information-Device Serial Number",
"channel": "SerialNumber",
"channelType": "miot_string",
"type": "String",
"refresh": true,
"actions": []
@ -56,7 +52,6 @@
"piid": 1,
"friendlyName": "Switch-Switch Status",
"channel": "On",
"channelType": "miot_bool",
"type": "Switch",
"refresh": true,
"actions": [

View File

@ -8,7 +8,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -26,8 +25,23 @@
"property": "mode",
"friendlyName": "Mode",
"channel": "airFreshMode",
"channelType": "airFreshMode",
"type": "String",
"stateDescription": {
"options": [
{
"value": "auto",
"label": "Auto"
},
{
"value": "sleep",
"label": "Sleep"
},
{
"value": "favourite",
"label": "Favorite"
}
]
},
"refresh": true,
"actions": [
{
@ -37,13 +51,13 @@
],
"tags": [
"Control"
]
],
"readmeComment": "Value mapping `[\"auto\"\u003d\"Auto\",\"sleep\"\u003d\"Sleep\",\"favourite\"\u003d\"Favorite\"]`"
},
{
"property": "ptc_on",
"friendlyName": "PTC",
"channel": "airFreshPTCPower",
"channelType": "airFreshPTCPower",
"type": "Switch",
"refresh": true,
"actions": [
@ -57,7 +71,6 @@
"property": "ptc_status",
"friendlyName": "PTC Status",
"channel": "airFreshPTCStatus",
"channelType": "airFreshPTCStatus",
"type": "Switch",
"refresh": true,
"ChannelGroup": "Status",
@ -67,7 +80,6 @@
"property": "display",
"friendlyName": "Display",
"channel": "airFreshDisplay",
"channelType": "airFreshDisplay",
"type": "Switch",
"refresh": true,
"actions": [
@ -81,7 +93,6 @@
"property": "child_lock",
"friendlyName": "Child Lock",
"channel": "airFreshChildLock",
"channelType": "airFreshChildLock",
"type": "Switch",
"refresh": true,
"actions": [
@ -95,7 +106,6 @@
"property": "sound",
"friendlyName": "Sound",
"channel": "airFreshSound",
"channelType": "airFreshSound",
"type": "Switch",
"refresh": true,
"actions": [
@ -109,8 +119,10 @@
"property": "pm25",
"friendlyName": "PM2.5",
"channel": "airFreshPM25",
"channelType": "airFreshPM25",
"type": "Number",
"stateDescription": {
"pattern": "%.0f"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": []
@ -119,8 +131,10 @@
"property": "co2",
"friendlyName": "CO2",
"channel": "airFreshCO2",
"channelType": "airFreshCO2",
"type": "Number",
"stateDescription": {
"pattern": "%.0f"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": [],
@ -134,8 +148,10 @@
"property": "control_speed",
"friendlyName": "Current Speed",
"channel": "airFreshCurrentSpeed",
"channelType": "airFreshCurrentSpeed",
"type": "Number",
"stateDescription": {
"pattern": "%.0f m³/h"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": []
@ -144,8 +160,12 @@
"property": "favourite_speed",
"friendlyName": "Favorite Speed",
"channel": "airFreshFavoriteSpeed",
"channelType": "airFreshFavoriteSpeed",
"type": "Number",
"stateDescription": {
"minimum": 0,
"maximum": 300,
"pattern": "%.0f"
},
"refresh": true,
"actions": [
{
@ -158,8 +178,10 @@
"property": "temperature_outside",
"friendlyName": "Temperature Outside",
"channel": "airFreshTemperature",
"channelType": "airFreshTemperature",
"type": "Number",
"stateDescription": {
"pattern": "%.0f°C"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": []
@ -168,8 +190,10 @@
"property": "filter_rate",
"friendlyName": "Filter Percents Remaining",
"channel": "airFreshFilterPercents",
"channelType": "airFreshFilterPercents",
"type": "Number",
"stateDescription": {
"pattern": "%.0f%%"
},
"refresh": true,
"actions": []
},
@ -177,8 +201,10 @@
"property": "filter_day",
"friendlyName": "Filter Days Remaining",
"channel": "airFreshFilterDays",
"channelType": "airFreshFilterDays",
"type": "Number",
"stateDescription": {
"pattern": "%.0f"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": []
@ -187,7 +213,6 @@
"property": "",
"friendlyName": "Reset Filter",
"channel": "airFreshResetFilterA1",
"channelType": "airFreshResetFilterA1",
"type": "String",
"refresh": false,
"ChannelGroup": "actions",

View File

@ -8,7 +8,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -26,8 +25,23 @@
"property": "mode",
"friendlyName": "Mode",
"channel": "airFreshMode",
"channelType": "airFreshMode",
"type": "String",
"stateDescription": {
"options": [
{
"value": "auto",
"label": "Auto"
},
{
"value": "sleep",
"label": "Sleep"
},
{
"value": "favourite",
"label": "Favorite"
}
]
},
"refresh": true,
"actions": [
{
@ -37,13 +51,13 @@
],
"tags": [
"Control"
]
],
"readmeComment": "Value mapping `[\"auto\"\u003d\"Auto\",\"sleep\"\u003d\"Sleep\",\"favourite\"\u003d\"Favorite\"]`"
},
{
"property": "ptc_on",
"friendlyName": "PTC",
"channel": "airFreshPTCPower",
"channelType": "airFreshPTCPower",
"type": "Switch",
"refresh": true,
"actions": [
@ -57,21 +71,36 @@
"property": "ptc_level",
"friendlyName": "PTC Level",
"channel": "airFreshPtcLevel",
"channelType": "airFreshPtcLevel",
"type": "String",
"stateDescription": {
"options": [
{
"value": "low",
"label": "Low"
},
{
"value": "medium",
"label": "Medium"
},
{
"value": "high",
"label": "High"
}
]
},
"refresh": true,
"actions": [
{
"command": "set_ptc_level",
"parameterType": "STRING"
}
]
],
"readmeComment": "Value mapping `[\"low\"\u003d\"Low\",\"medium\"\u003d\"Medium\",\"high\"\u003d\"High\"]`"
},
{
"property": "ptc_status",
"friendlyName": "PTC Status",
"channel": "airFreshPTCStatus",
"channelType": "airFreshPTCStatus",
"type": "Switch",
"refresh": true,
"ChannelGroup": "Status",
@ -81,21 +110,36 @@
"property": "screen_direction",
"friendlyName": "Screen direction",
"channel": "airFreshDisplayDirection",
"channelType": "airFreshDisplayDirection",
"type": "String",
"stateDescription": {
"options": [
{
"value": "forward",
"label": "Normal"
},
{
"value": "left",
"label": "Left"
},
{
"value": "right",
"label": "Right"
}
]
},
"refresh": true,
"actions": [
{
"command": "set_screen_direction",
"parameterType": "STRING"
}
]
],
"readmeComment": "Value mapping `[\"forward\"\u003d\"Normal\",\"left\"\u003d\"Left\",\"right\"\u003d\"Right\"]`"
},
{
"property": "display",
"friendlyName": "Display",
"channel": "airFreshDisplay",
"channelType": "airFreshDisplay",
"type": "Switch",
"refresh": true,
"actions": [
@ -109,7 +153,6 @@
"property": "child_lock",
"friendlyName": "Child Lock",
"channel": "airFreshChildLock",
"channelType": "airFreshChildLock",
"type": "Switch",
"refresh": true,
"actions": [
@ -123,7 +166,6 @@
"property": "sound",
"friendlyName": "Sound",
"channel": "airFreshSound",
"channelType": "airFreshSound",
"type": "Switch",
"refresh": true,
"actions": [
@ -137,8 +179,10 @@
"property": "pm25",
"friendlyName": "PM2.5",
"channel": "airFreshPM25",
"channelType": "airFreshPM25",
"type": "Number",
"stateDescription": {
"pattern": "%.0f"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": []
@ -147,8 +191,10 @@
"property": "co2",
"friendlyName": "CO2",
"channel": "airFreshCO2",
"channelType": "airFreshCO2",
"type": "Number",
"stateDescription": {
"pattern": "%.0f"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": [],
@ -162,8 +208,10 @@
"property": "control_speed",
"friendlyName": "Current Speed",
"channel": "airFreshCurrentSpeed",
"channelType": "airFreshCurrentSpeed",
"type": "Number",
"stateDescription": {
"pattern": "%.0f m³/h"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": []
@ -172,8 +220,12 @@
"property": "favourite_speed",
"friendlyName": "Favorite Speed",
"channel": "airFreshFavoriteSpeed",
"channelType": "airFreshFavoriteSpeed",
"type": "Number",
"stateDescription": {
"minimum": 0,
"maximum": 300,
"pattern": "%.0f"
},
"refresh": true,
"actions": [
{
@ -186,8 +238,10 @@
"property": "temperature_outside",
"friendlyName": "Temperature Outside",
"channel": "airFreshTemperature",
"channelType": "airFreshTemperature",
"type": "Number",
"stateDescription": {
"pattern": "%.0f°C"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": []
@ -196,8 +250,10 @@
"property": "filter_intermediate",
"friendlyName": "Filter Percents Remaining",
"channel": "airFreshFilterPercents",
"channelType": "airFreshFilterPercents",
"type": "Number",
"stateDescription": {
"pattern": "%.0f%%"
},
"refresh": true,
"actions": []
},
@ -205,8 +261,10 @@
"property": "filter_inter_day",
"friendlyName": "Filter Days Remaining",
"channel": "airFreshFilterDays",
"channelType": "airFreshFilterDays",
"type": "Number",
"stateDescription": {
"pattern": "%.0f"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": []
@ -215,8 +273,10 @@
"property": "filter_efficient",
"friendlyName": "Filter Pro Percents Remaining",
"channel": "airFreshFilterProPercents",
"channelType": "airFreshFilterProPercents",
"type": "Number",
"stateDescription": {
"pattern": "%.0f%%"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": []
@ -225,8 +285,10 @@
"property": "filter_effi_day",
"friendlyName": "Filter Pro Days Remaining",
"channel": "airFreshFilterProDays",
"channelType": "airFreshFilterProDays",
"type": "Number",
"stateDescription": {
"pattern": "%.0f"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": []
@ -235,7 +297,6 @@
"property": "",
"friendlyName": "Reset Filter",
"channel": "airFreshResetFilter",
"channelType": "airFreshResetFilter",
"type": "String",
"refresh": false,
"ChannelGroup": "actions",

View File

@ -8,7 +8,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -39,7 +38,6 @@
"property": "mode",
"friendlyName": "Mode",
"channel": "mode",
"channelType": "mode",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",
@ -57,8 +55,13 @@
"property": "roll_angle",
"friendlyName": "Angle",
"channel": "angle",
"channelType": "angle",
"type": "Number",
"stateDescription": {
"minimum": 0,
"maximum": 360,
"step": 1,
"pattern": "%.0f"
},
"refresh": true,
"ChannelGroup": "actions",
"actions": [
@ -128,8 +131,10 @@
"property": "speed",
"friendlyName": "Speed",
"channel": "speed",
"channelType": "speed",
"type": "Number",
"stateDescription": {
"pattern": "%.0f"
},
"refresh": true,
"ChannelGroup": "actions",
"actions": [

View File

@ -12,7 +12,6 @@
"piid": 1,
"friendlyName": "Curtain - Device Fault",
"channel": "fault",
"channelType": "LumiCurtainHagl05_fault",
"type": "Number",
"stateDescription": {
"readOnly": true,
@ -27,14 +26,57 @@
"actions": [],
"readmeComment": "Value mapping `[\"0\"\u003d\"No faults\"]`"
},
{
"property": "motor-control",
"siid": 2,
"piid": 2,
"friendlyName": "Curtain - Motor Control",
"channel": "motor_control",
"type": "Number",
"stateDescription": {
"options": [
{
"value": "0",
"label": "Pause"
},
{
"value": "1",
"label": "Open"
},
{
"value": "2",
"label": "Close"
},
{
"value": "3",
"label": "auto"
}
]
},
"refresh": false,
"actions": [
{
"command": "set_properties",
"parameterType": "NUMBER"
}
],
"readmeComment": "Value mapping `[\"0\"\u003d\"Pause\",\"1\"\u003d\"Open\",\"2\"\u003d\"Close\",\"3\"\u003d\"auto\"]`"
},
{
"property": "current-position",
"siid": 2,
"piid": 3,
"friendlyName": "Curtain - Current Position",
"channel": "current-position",
"channelType": "miot_uint8",
"type": "Number",
"type": "Number:Dimensionless",
"unit": "percentage",
"stateDescription": {
"minimum": 0,
"maximum": 100,
"step": 1,
"pattern": "%.0f %unit%",
"readOnly": true
},
"refresh": true,
"actions": []
},
@ -44,7 +86,6 @@
"piid": 6,
"friendlyName": "Curtain - Status",
"channel": "status",
"channelType": "LumiCurtainHagl05_status",
"type": "Number",
"stateDescription": {
"readOnly": true,
@ -77,8 +118,14 @@
"piid": 7,
"friendlyName": "Curtain - Target Position",
"channel": "target-position",
"channelType": "miot_uint8",
"type": "Number",
"type": "Number:Dimensionless",
"unit": "percentage",
"stateDescription": {
"minimum": 0,
"maximum": 100,
"step": 1,
"pattern": "%.0f %unit%"
},
"refresh": true,
"actions": [
{
@ -93,7 +140,6 @@
"piid": 1,
"friendlyName": "curtain_cfg - Manual Enabled",
"channel": "manual-enabled",
"channelType": "LumiCurtainHagl05_manual-enabled",
"type": "Number",
"stateDescription": {
"options": [
@ -120,9 +166,8 @@
"property": "polarity",
"siid": 4,
"piid": 2,
"friendlyName": "curtain_cfg - Polarity",
"friendlyName": "Curtain_cfg - Polarity",
"channel": "polarity",
"channelType": "LumiCurtainHagl05_polarity",
"type": "Number",
"stateDescription": {
"options": [
@ -151,7 +196,6 @@
"piid": 3,
"friendlyName": "curtain_cfg - Position Limit",
"channel": "pos-limit",
"channelType": "LumiCurtainHagl05_pos-limit",
"type": "Number",
"stateDescription": {
"options": [
@ -178,10 +222,9 @@
"property": "en-night-tip-light",
"siid": 4,
"piid": 4,
"friendlyName": "Set Night Tip Light",
"channel": "en-night-tip-light",
"channelType": "LumiCurtainHagl05_en-night-tip-light",
"type": "Switch",
"friendlyName": "Curtain_cfg - En_night_tip_light",
"channel": "en_night_tip_light",
"type": "Number",
"stateDescription": {
"options": [
{
@ -207,12 +250,39 @@
"property": "run-time",
"siid": 4,
"piid": 5,
"friendlyName": "curtain_cfg - Run-time",
"friendlyName": "Curtain_cfg - Run-time",
"channel": "run-time",
"channelType": "miot_int32",
"type": "Number",
"stateDescription": {
"minimum": 0,
"maximum": 255,
"step": 1,
"pattern": "%.0f",
"readOnly": true
},
"refresh": true,
"actions": []
},
{
"property": "adjust-value",
"siid": 5,
"piid": 1,
"friendlyName": "Motor_controller - Adjust_value",
"channel": "adjust_value",
"type": "Number",
"stateDescription": {
"minimum": -100,
"maximum": 100,
"step": 1,
"pattern": "%.0f"
},
"refresh": false,
"actions": [
{
"command": "set_properties",
"parameterType": "NUMBER"
}
]
}
],
"experimental": true

View File

@ -13,7 +13,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -59,7 +58,6 @@
"property": "cct",
"friendlyName": "Correlated Color Temperature",
"channel": "cct",
"channelType": "cct",
"type": "Dimmer",
"refresh": true,
"actions": [
@ -73,7 +71,6 @@
"property": "snm",
"friendlyName": "Scene",
"channel": "scene",
"channelType": "scene",
"type": "Number",
"refresh": true,
"actions": [
@ -87,7 +84,6 @@
"property": "dv",
"friendlyName": "DV",
"channel": "dv",
"channelType": "dv",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",
@ -149,7 +145,6 @@
"property": "",
"friendlyName": "Delay Off",
"channel": "delayoff",
"channelType": "delayoff",
"type": "Switch",
"refresh": false,
"ChannelGroup": "actions",

View File

@ -13,7 +13,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -60,7 +59,6 @@
"property": "cct",
"friendlyName": "Correlated Color Temperature",
"channel": "cct",
"channelType": "cct",
"type": "Dimmer",
"refresh": true,
"ChannelGroup": "actions",
@ -75,7 +73,6 @@
"property": "snm",
"friendlyName": "Scene",
"channel": "scene",
"channelType": "scene",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",
@ -90,7 +87,6 @@
"property": "dv",
"friendlyName": "DV",
"channel": "dv",
"channelType": "dv",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",
@ -118,7 +114,6 @@
"property": "",
"friendlyName": "Delay Off",
"channel": "delayoff",
"channelType": "delayoff",
"type": "Switch",
"refresh": false,
"ChannelGroup": "actions",

View File

@ -9,7 +9,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -56,7 +55,6 @@
"property": "cct",
"friendlyName": "Correlated Color Temperature",
"channel": "cct",
"channelType": "cct",
"type": "Dimmer",
"refresh": true,
"ChannelGroup": "actions",
@ -71,7 +69,6 @@
"property": "snm",
"friendlyName": "Scene",
"channel": "scene",
"channelType": "scene",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",
@ -86,7 +83,6 @@
"property": "",
"friendlyName": "Delay Off",
"channel": "delayoff",
"channelType": "delayoff",
"type": "Switch",
"refresh": false,
"ChannelGroup": "actions",

View File

@ -10,7 +10,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -57,7 +56,6 @@
"property": "cct",
"friendlyName": "Correlated Color Temperature",
"channel": "cct",
"channelType": "cct",
"type": "Dimmer",
"refresh": true,
"ChannelGroup": "actions",
@ -72,7 +70,6 @@
"property": "snm",
"friendlyName": "Scene",
"channel": "scene",
"channelType": "scene",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",
@ -129,7 +126,6 @@
"property": "",
"friendlyName": "Delay Off",
"channel": "delayoff",
"channelType": "delayoff",
"type": "Switch",
"refresh": false,
"ChannelGroup": "actions",

View File

@ -24,7 +24,6 @@
"piid": 1,
"friendlyName": "Power",
"channel": "on",
"channelType": "miot_bool",
"type": "Switch",
"refresh": true,
"actions": [
@ -44,7 +43,6 @@
"piid": 2,
"friendlyName": "Mode",
"channel": "mode",
"channelType": "miot_uint8",
"type": "Number",
"refresh": true,
"actions": [
@ -83,7 +81,6 @@
"piid": 4,
"friendlyName": "Color Temperature",
"channel": "cct",
"channelType": "miot_uint32",
"type": "Number",
"refresh": true,
"actions": [
@ -99,8 +96,13 @@
"piid": 1,
"friendlyName": "Delayed Turn-off",
"channel": "dv",
"channelType": "miot_uint16",
"type": "Number",
"stateDescription": {
"minimum": 0,
"maximum": 21600,
"step": 1,
"pattern": "%.0f %unit%"
},
"refresh": true,
"actions": [
{
@ -115,7 +117,6 @@
"piid": 2,
"friendlyName": "Wall Scene Enable",
"channel": "WallSceneEn",
"channelType": "miot_bool",
"type": "Switch",
"refresh": true,
"actions": [
@ -131,7 +132,6 @@
"piid": 3,
"friendlyName": "Wall Scene",
"channel": "WallScene",
"channelType": "miot_string",
"type": "String",
"refresh": true,
"actions": [
@ -147,7 +147,6 @@
"piid": 4,
"friendlyName": "Auto CCT",
"channel": "autoCct",
"channelType": "miot_string",
"type": "String",
"refresh": true,
"actions": [
@ -163,8 +162,13 @@
"piid": 6,
"friendlyName": "Dimming Period",
"channel": "dimmingPeriod",
"channelType": "miot_uint16",
"type": "Number",
"stateDescription": {
"minimum": 0,
"maximum": 65535,
"step": 1,
"pattern": "%.0f"
},
"refresh": true,
"actions": [
{
@ -179,10 +183,77 @@
"piid": 12,
"friendlyName": "Mi Band Status",
"channel": "MibandStatus",
"channelType": "miot_string",
"type": "String",
"refresh": true,
"actions": []
},
{
"property": "",
"friendlyName": "Actions",
"channel": "actions",
"type": "String",
"stateDescription": {
"options": [
{
"value": "light-brightness-down",
"label": "Light Brightness Down"
},
{
"value": "light-brightness-up",
"label": "Light Brightness Up"
},
{
"value": "light-toggle",
"label": "Light Toggle"
}
]
},
"refresh": false,
"actions": [
{
"command": "action",
"parameterType": "EMPTY",
"siid": 2,
"aiid": 1,
"condition": {
"name": "matchValue",
"parameters": [
{
"matchValue": "light-brightness-down"
}
]
}
},
{
"command": "action",
"parameterType": "EMPTY",
"siid": 2,
"aiid": 2,
"condition": {
"name": "matchValue",
"parameters": [
{
"matchValue": "light-brightness-up"
}
]
}
},
{
"command": "action",
"parameterType": "EMPTY",
"siid": 2,
"aiid": 3,
"condition": {
"name": "matchValue",
"parameters": [
{
"matchValue": "light-toggle"
}
]
}
}
],
"readmeComment": "Value mapping `[\"light-brightness-down\"\u003d\"Light Brightness Down\",\"light-brightness-up\"\u003d\"Light Brightness Up\",\"light-toggle\"\u003d\"Light Toggle\"]`"
}
],
"experimental": true

View File

@ -9,7 +9,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -56,7 +55,6 @@
"property": "cct",
"friendlyName": "Correlated Color Temperature",
"channel": "cct",
"channelType": "cct",
"type": "Dimmer",
"refresh": true,
"ChannelGroup": "actions",
@ -71,7 +69,6 @@
"property": "snm",
"friendlyName": "Scene",
"channel": "scene",
"channelType": "scene",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",

View File

@ -8,7 +8,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -55,7 +54,6 @@
"property": "scene_num",
"friendlyName": "Scene",
"channel": "scene",
"channelType": "scene",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",

View File

@ -8,7 +8,6 @@
"property": "pow",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -51,7 +50,6 @@
"property": "cct",
"friendlyName": "Correlated Color Temperature",
"channel": "cct",
"channelType": "cct",
"type": "Dimmer",
"refresh": true,
"ChannelGroup": "actions",
@ -66,7 +64,6 @@
"property": "snm",
"friendlyName": "Scene",
"channel": "scene",
"channelType": "scene",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",
@ -81,7 +78,6 @@
"property": "dv",
"friendlyName": "DV",
"channel": "dv",
"channelType": "dv",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",
@ -95,7 +91,6 @@
"property": "",
"friendlyName": "Go Night",
"channel": "gonight",
"channelType": "gonight",
"type": "Switch",
"refresh": false,
"ChannelGroup": "actions",
@ -110,7 +105,6 @@
"property": "",
"friendlyName": "Delay Off",
"channel": "delayoff",
"channelType": "delayoff",
"type": "Switch",
"refresh": false,
"ChannelGroup": "actions",

View File

@ -8,7 +8,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -55,7 +54,6 @@
"property": "snm",
"friendlyName": "Scene",
"channel": "scene",
"channelType": "scene",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",
@ -83,7 +81,6 @@
"property": "dv",
"friendlyName": "DV",
"channel": "dv",
"channelType": "dv",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",

View File

@ -9,7 +9,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -56,7 +55,6 @@
"property": "ambstatus",
"friendlyName": "Ambient Power",
"channel": "ambientPower",
"channelType": "ambientPower",
"type": "Switch",
"refresh": true,
"ChannelGroup": "actions",
@ -71,7 +69,6 @@
"property": "ambvalue",
"friendlyName": "Ambient Brightness",
"channel": "ambientBrightness",
"channelType": "ambientBrightness",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",
@ -86,8 +83,11 @@
"property": "dvalue",
"friendlyName": "Ambient Illumination",
"channel": "illumination",
"channelType": "illumination",
"type": "Number",
"stateDescription": {
"pattern": "%.1f",
"readOnly": true
},
"refresh": true,
"actions": []
},
@ -95,7 +95,6 @@
"property": "eyecare",
"friendlyName": "Eyecare",
"channel": "eyecare",
"channelType": "eyecare",
"type": "Switch",
"refresh": true,
"ChannelGroup": "actions",

View File

@ -89,7 +89,6 @@
"property": "wifi_led",
"friendlyName": "wifi LED",
"channel": "led",
"channelType": "led",
"type": "Switch",
"refresh": true,
"actions": [

View File

@ -9,7 +9,6 @@
"property": "",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": false,
"actions": [

View File

@ -12,7 +12,6 @@
"channel": "vacuumaction",
"type": "String",
"stateDescription": {
"readOnly": true,
"options": [
{
"value": "start-sweep",

View File

@ -10,8 +10,23 @@
"property": "",
"friendlyName": "Vacuum Action",
"channel": "vacuumaction",
"channelType": "vacuumaction",
"type": "Number",
"stateDescription": {
"options": [
{
"value": "1",
"label": "Start"
},
{
"value": "0",
"label": "Stop"
},
{
"value": "2",
"label": "Pause"
}
]
},
"refresh": false,
"actions": [
{
@ -23,13 +38,13 @@
0
]
}
]
],
"readmeComment": "Value mapping `[\"1\"\u003d\"Start\",\"0\"\u003d\"Stop\",\"2\"\u003d\"Pause\"]`"
},
{
"property": "run_state",
"friendlyName": "State",
"channel": "state",
"channelType": "state",
"type": "Number",
"refresh": true,
"actions": []
@ -38,7 +53,6 @@
"property": "mode",
"friendlyName": "Mode",
"channel": "mode",
"channelType": "mode",
"type": "Number",
"refresh": true,
"actions": [

View File

@ -94,7 +94,6 @@
"stateDescription": {
"minimum": 16,
"maximum": 31,
"step": 0.0,
"pattern": "%.1f %unit%"
},
"refresh": true,
@ -351,13 +350,12 @@
"piid": 3,
"friendlyName": "Electricity - Count",
"channel": "elec-count",
"channelType": "miot_uint16",
"type": "Number",
"stateDescription": {
"minimum": 0,
"maximum": 65535,
"step": 1,
"pattern": "%.1f",
"pattern": "%.0f",
"readOnly": true
},
"refresh": true,

View File

@ -107,7 +107,6 @@
"property": "nl_br",
"friendlyName": "Nightlight Brightness",
"channel": "nightlightBrightness",
"channelType": "nightlightBrightness",
"type": "Number",
"refresh": true,
"actions": [],

View File

@ -230,7 +230,6 @@
"property": "",
"friendlyName": "Set Scene",
"channel": "customScene",
"channelType": "customScene",
"type": "String",
"refresh": false,
"ChannelGroup": "actions",
@ -245,7 +244,6 @@
"property": "nl_br",
"friendlyName": "Nightlight Brightness",
"channel": "nightlightBrightness",
"channelType": "nightlightBrightness",
"type": "Number",
"refresh": true,
"actions": [],

View File

@ -204,7 +204,6 @@
"property": "",
"friendlyName": "Set Scene",
"channel": "customScene",
"channelType": "customScene",
"type": "String",
"refresh": false,
"ChannelGroup": "actions",
@ -219,7 +218,6 @@
"property": "nl_br",
"friendlyName": "Nightlight Brightness",
"channel": "nightlightBrightness",
"channelType": "nightlightBrightness",
"type": "Number",
"refresh": true,
"actions": [],

View File

@ -229,7 +229,6 @@
"property": "bg_power",
"friendlyName": "Ambient Power",
"channel": "ambientPower",
"channelType": "ambientPower",
"type": "Switch",
"refresh": true,
"ChannelGroup": "actions",
@ -244,7 +243,6 @@
"property": "bg_rgb",
"friendlyName": "Ambient Color",
"channel": "ambientColor",
"channelType": "ambientColor",
"type": "Color",
"refresh": true,
"ChannelGroup": "actions",
@ -259,7 +257,6 @@
"property": "bg_ct",
"friendlyName": "Ambient Color Temperature",
"channel": "ambientColorTemperature",
"channelType": "ambientColorTemperature",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",
@ -279,7 +276,6 @@
"property": "",
"friendlyName": "Set Scene",
"channel": "customScene",
"channelType": "customScene",
"type": "String",
"refresh": false,
"ChannelGroup": "actions",
@ -294,7 +290,6 @@
"property": "bg_lmode",
"friendlyName": "Ambient Color Mode",
"channel": "ambientColorMode",
"channelType": "ambientColorMode",
"type": "Number",
"refresh": true,
"actions": []
@ -303,7 +298,6 @@
"property": "nl_br",
"friendlyName": "Nightlight Brightness",
"channel": "nightlightBrightness",
"channelType": "nightlightBrightness",
"type": "Number",
"refresh": true,
"actions": [],

View File

@ -232,7 +232,6 @@
"property": "bg_bright",
"friendlyName": "Ambient Brightness",
"channel": "ambientBrightness",
"channelType": "ambientBrightness",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",
@ -247,7 +246,6 @@
"property": "bg_power",
"friendlyName": "Ambient Power",
"channel": "ambientPower",
"channelType": "ambientPower",
"type": "Switch",
"refresh": true,
"ChannelGroup": "actions",
@ -262,7 +260,6 @@
"property": "bg_rgb",
"friendlyName": "Ambient Color",
"channel": "ambientColor",
"channelType": "ambientColor",
"type": "Color",
"refresh": true,
"ChannelGroup": "actions",
@ -277,7 +274,6 @@
"property": "bg_ct",
"friendlyName": "Ambient Color Temperature",
"channel": "ambientColorTemperature",
"channelType": "ambientColorTemperature",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",
@ -297,7 +293,6 @@
"property": "bg_lmode",
"friendlyName": "Ambient Color Mode",
"channel": "ambientColorMode",
"channelType": "ambientColorMode",
"type": "Number",
"refresh": true,
"actions": []

View File

@ -8,7 +8,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -26,7 +25,6 @@
"property": "aqi",
"friendlyName": "Air Quality Index",
"channel": "aqi",
"channelType": "aqi",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",

View File

@ -19,7 +19,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -37,7 +36,6 @@
"property": "mode",
"friendlyName": "Mode",
"channel": "mode",
"channelType": "mode",
"type": "String",
"stateDescription": {
"options": [
@ -102,7 +100,6 @@
"property": "aqi",
"friendlyName": "Air Quality Index",
"channel": "aqi",
"channelType": "aqi",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
@ -115,7 +112,6 @@
"property": "average_aqi",
"friendlyName": "Average Air Quality Index",
"channel": "averageaqi",
"channelType": "averageaqi",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
@ -128,7 +124,6 @@
"property": "led",
"friendlyName": "LED Status",
"channel": "led",
"channelType": "led",
"type": "Switch",
"refresh": true,
"ChannelGroup": "actions",
@ -143,7 +138,6 @@
"property": "buzzer",
"friendlyName": "Buzzer Status",
"channel": "buzzer",
"channelType": "buzzer",
"type": "Switch",
"refresh": true,
"ChannelGroup": "actions",
@ -158,7 +152,6 @@
"property": "f1_hour",
"friendlyName": "Filter Max Life",
"channel": "filtermaxlife",
"channelType": "filtermaxlife",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
@ -168,9 +161,11 @@
"property": "f1_hour_used",
"friendlyName": "Filter Hours used",
"channel": "filterhours",
"channelType": "filterhours",
"type": "Number:Time",
"unit": "hours",
"stateDescription": {
"pattern": "%.0f %unit%"
},
"refresh": true,
"transformation": "SecondsToHours",
"ChannelGroup": "Status",
@ -181,9 +176,11 @@
"property": "use_time",
"friendlyName": "Run Time",
"channel": "usedhours",
"channelType": "usedhours",
"type": "Number:Time",
"unit": "hours",
"stateDescription": {
"pattern": "%.0f %unit%"
},
"refresh": true,
"transformation": "SecondsToHours",
"ChannelGroup": "Status",
@ -194,8 +191,10 @@
"property": "motor1_speed",
"friendlyName": "Motor Speed",
"channel": "motorspeed",
"channelType": "motorspeed",
"type": "Number",
"stateDescription": {
"pattern": "%.0f rpm"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": []
@ -315,9 +314,11 @@
"property": "purify_volume",
"friendlyName": "Purified Volume",
"channel": "purifyvolume",
"channelType": "purifyvolume",
"type": "Number:Volume",
"unit": "liter",
"stateDescription": {
"pattern": "%.0f m3"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": [],

View File

@ -8,7 +8,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -26,7 +25,6 @@
"property": "mode",
"friendlyName": "Mode",
"channel": "mode",
"channelType": "mode",
"type": "String",
"refresh": true,
"ChannelGroup": "actions",
@ -59,7 +57,6 @@
"property": "aqi",
"friendlyName": "Air Quality Index",
"channel": "aqi",
"channelType": "aqi",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
@ -91,7 +88,6 @@
"property": "led",
"friendlyName": "LED Status",
"channel": "led",
"channelType": "led",
"type": "Switch",
"refresh": true,
"ChannelGroup": "actions",
@ -106,7 +102,6 @@
"property": "act_det",
"friendlyName": "Air AutoDetect",
"channel": "act_det",
"channelType": "act_det",
"type": "Switch",
"refresh": true,
"ChannelGroup": "actions",
@ -116,7 +111,6 @@
"property": "buzzer",
"friendlyName": "Buzzer Status",
"channel": "buzzer",
"channelType": "buzzer",
"type": "Switch",
"refresh": true,
"ChannelGroup": "actions",
@ -131,7 +125,6 @@
"property": "f1_hour",
"friendlyName": "Filter Max Life",
"channel": "filtermaxlife",
"channelType": "filtermaxlife",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
@ -141,8 +134,10 @@
"property": "filter1_life",
"friendlyName": "Filter Life",
"channel": "filterlive",
"channelType": "filterlive",
"type": "Number",
"stateDescription": {
"pattern": "%.0f%%"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": []

View File

@ -9,7 +9,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -27,7 +26,6 @@
"property": "mode",
"friendlyName": "Mode",
"channel": "mode",
"channelType": "mode",
"type": "String",
"refresh": true,
"ChannelGroup": "actions",
@ -60,7 +58,6 @@
"property": "aqi",
"friendlyName": "Air Quality Index",
"channel": "aqi",
"channelType": "aqi",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
@ -73,7 +70,6 @@
"property": "average_aqi",
"friendlyName": "Average Air Quality Index",
"channel": "averageaqi",
"channelType": "averageaqi",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
@ -86,7 +82,6 @@
"property": "led",
"friendlyName": "LED Status",
"channel": "led",
"channelType": "led",
"type": "Switch",
"refresh": true,
"ChannelGroup": "actions",
@ -120,7 +115,6 @@
"property": "f1_hour",
"friendlyName": "Filter Max Life",
"channel": "filtermaxlife",
"channelType": "filtermaxlife",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
@ -130,9 +124,11 @@
"property": "f1_hour_used",
"friendlyName": "Filter Hours used",
"channel": "filterhours",
"channelType": "filterhours",
"type": "Number:Time",
"unit": "hours",
"stateDescription": {
"pattern": "%.0f %unit%"
},
"refresh": true,
"transformation": "SecondsToHours",
"ChannelGroup": "Status",
@ -143,9 +139,11 @@
"property": "use_time",
"friendlyName": "Run Time",
"channel": "usedhours",
"channelType": "usedhours",
"type": "Number:Time",
"unit": "hours",
"stateDescription": {
"pattern": "%.0f %unit%"
},
"refresh": true,
"transformation": "SecondsToHours",
"ChannelGroup": "Status",
@ -156,8 +154,10 @@
"property": "motor1_speed",
"friendlyName": "Motor Speed",
"channel": "motorspeed",
"channelType": "motorspeed",
"type": "Number",
"stateDescription": {
"pattern": "%.0f rpm"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": []
@ -175,8 +175,10 @@
"property": "favorite_level",
"friendlyName": "Favorite Level",
"channel": "favoritelevel",
"channelType": "favoritelevel",
"type": "Number",
"stateDescription": {
"pattern": "%.0f"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": [
@ -210,8 +212,10 @@
"property": "purify_volume",
"friendlyName": "Purivied Volume",
"channel": "purifyvolume",
"channelType": "purifyvolume",
"type": "Number",
"stateDescription": {
"pattern": "%.0f m3"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": []
@ -220,7 +224,6 @@
"property": "child_lock",
"friendlyName": "Child Lock",
"channel": "childlock",
"channelType": "childlock",
"type": "Switch",
"refresh": true,
"ChannelGroup": "Status",

View File

@ -8,7 +8,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -26,7 +25,6 @@
"property": "mode",
"friendlyName": "Mode",
"channel": "mode",
"channelType": "mode",
"type": "String",
"refresh": true,
"ChannelGroup": "actions",
@ -59,7 +57,6 @@
"property": "aqi",
"friendlyName": "Air Quality Index",
"channel": "aqi",
"channelType": "aqi",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
@ -72,7 +69,6 @@
"property": "average_aqi",
"friendlyName": "Average Air Quality Index",
"channel": "averageaqi",
"channelType": "averageaqi",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
@ -94,7 +90,6 @@
"property": "led",
"friendlyName": "LED Status",
"channel": "led",
"channelType": "led",
"type": "Switch",
"refresh": true,
"ChannelGroup": "actions",
@ -123,7 +118,6 @@
"property": "f1_hour",
"friendlyName": "Filter Max Life",
"channel": "filtermaxlife",
"channelType": "filtermaxlife",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
@ -133,9 +127,11 @@
"property": "f1_hour_used",
"friendlyName": "Filter Hours used",
"channel": "filterhours",
"channelType": "filterhours",
"type": "Number:Time",
"unit": "hours",
"stateDescription": {
"pattern": "%.0f %unit%"
},
"refresh": true,
"transformation": "SecondsToHours",
"ChannelGroup": "Status",
@ -146,8 +142,10 @@
"property": "motor1_speed",
"friendlyName": "Motor Speed",
"channel": "motorspeed",
"channelType": "motorspeed",
"type": "Number",
"stateDescription": {
"pattern": "%.0f rpm"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": []
@ -174,8 +172,10 @@
"property": "favorite_level",
"friendlyName": "Favorite Level",
"channel": "favoritelevel",
"channelType": "favoritelevel",
"type": "Number",
"stateDescription": {
"pattern": "%.0f"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": [
@ -209,7 +209,6 @@
"property": "child_lock",
"friendlyName": "Child Lock",
"channel": "childlock",
"channelType": "childlock",
"type": "Switch",
"refresh": true,
"ChannelGroup": "Status",

View File

@ -9,7 +9,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -27,7 +26,6 @@
"property": "angle_enable",
"friendlyName": "Rotation",
"channel": "angleEnable",
"channelType": "angleEnable",
"type": "Switch",
"refresh": true,
"actions": [
@ -41,9 +39,11 @@
"property": "use_time",
"friendlyName": "Run Time",
"channel": "usedhours",
"channelType": "usedhours",
"type": "Number:Time",
"unit": "hours",
"stateDescription": {
"pattern": "%.0f %unit%"
},
"refresh": true,
"transformation": "SecondsToHours",
"ChannelGroup": "Status",
@ -54,8 +54,13 @@
"property": "angle",
"friendlyName": "Angle",
"channel": "angle",
"channelType": "angle",
"type": "Number",
"stateDescription": {
"minimum": 0,
"maximum": 360,
"step": 1,
"pattern": "%.0f"
},
"refresh": true,
"ChannelGroup": "actions",
"actions": [
@ -69,8 +74,13 @@
"property": "poweroff_time",
"friendlyName": "Timer",
"channel": "poweroffTime",
"channelType": "poweroffTime",
"type": "Number",
"stateDescription": {
"minimum": 0,
"maximum": 28800,
"step": 1,
"pattern": "%.0f"
},
"refresh": true,
"ChannelGroup": "actions",
"actions": [
@ -84,7 +94,6 @@
"property": "buzzer",
"friendlyName": "Buzzer",
"channel": "buzzer",
"channelType": "buzzer",
"type": "Number",
"refresh": true,
"ChannelGroup": "actions",
@ -127,8 +136,13 @@
"property": "speed_level",
"friendlyName": "Speed Level",
"channel": "speedLevel",
"channelType": "speedLevel",
"type": "Number",
"stateDescription": {
"minimum": 0,
"maximum": 99,
"step": 1,
"pattern": "%.0f%%"
},
"refresh": true,
"ChannelGroup": "actions",
"actions": [
@ -142,8 +156,10 @@
"property": "speed",
"friendlyName": "Speed",
"channel": "speed",
"channelType": "speed",
"type": "Number",
"stateDescription": {
"pattern": "%.0f"
},
"refresh": true,
"ChannelGroup": "actions",
"actions": [
@ -157,8 +173,13 @@
"property": "natural_level",
"friendlyName": "Natural Level",
"channel": "naturalLevel",
"channelType": "naturalLevel",
"type": "Number",
"stateDescription": {
"minimum": 0,
"maximum": 99,
"step": 1,
"pattern": "%.0f%%"
},
"refresh": true,
"ChannelGroup": "actions",
"actions": [
@ -172,8 +193,23 @@
"property": "",
"friendlyName": "Move Direction",
"channel": "move",
"channelType": "move",
"type": "String",
"stateDescription": {
"options": [
{
"value": "",
"label": "None"
},
{
"value": "left",
"label": "Left"
},
{
"value": "right",
"label": "Right"
}
]
},
"refresh": true,
"ChannelGroup": "actions",
"actions": [
@ -181,7 +217,8 @@
"command": "set_move",
"parameterType": "STRING"
}
]
],
"readmeComment": "Value mapping `[\"\"\u003d\"None\",\"left\"\u003d\"Left\",\"right\"\u003d\"Right\"]`"
}
]
}

View File

@ -9,7 +9,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -27,7 +26,6 @@
"property": "mode",
"friendlyName": "Mode",
"channel": "mode",
"channelType": "mode",
"type": "String",
"refresh": true,
"ChannelGroup": "actions",
@ -60,7 +58,6 @@
"property": "limit_hum",
"friendlyName": "Humidity Set",
"channel": "setHumidity",
"channelType": "setHumidity",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
@ -75,7 +72,6 @@
"property": "aqi",
"friendlyName": "Air Quality Index",
"channel": "aqi",
"channelType": "aqi",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
@ -88,7 +84,6 @@
"property": "trans_level",
"friendlyName": "Trans_level",
"channel": "translevel",
"channelType": "translevel",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
@ -112,7 +107,6 @@
"property": "buzzer",
"friendlyName": "Buzzer Status",
"channel": "buzzer",
"channelType": "buzzer",
"type": "Switch",
"refresh": true,
"ChannelGroup": "actions",
@ -127,7 +121,6 @@
"property": "depth",
"friendlyName": "Depth",
"channel": "depth",
"channelType": "depth",
"type": "Number",
"refresh": true,
"ChannelGroup": "Status",
@ -137,7 +130,6 @@
"property": "dry",
"friendlyName": "Dry",
"channel": "dry",
"channelType": "dry",
"type": "Switch",
"refresh": true,
"ChannelGroup": "Status",
@ -152,9 +144,11 @@
"property": "use_time",
"friendlyName": "Run Time",
"channel": "usedhours",
"channelType": "usedhours",
"type": "Number:Time",
"unit": "hours",
"stateDescription": {
"pattern": "%.0f %unit%"
},
"refresh": true,
"transformation": "SecondsToHours",
"ChannelGroup": "Status",
@ -165,8 +159,10 @@
"property": "speed",
"friendlyName": "Motor Speed",
"channel": "motorspeed",
"channelType": "motorspeed",
"type": "Number",
"stateDescription": {
"pattern": "%.0f rpm"
},
"refresh": true,
"ChannelGroup": "Status",
"actions": []
@ -195,7 +191,6 @@
"property": "child_lock",
"friendlyName": "Child Lock",
"channel": "childlock",
"channelType": "childlock",
"type": "Switch",
"refresh": true,
"ChannelGroup": "Status",

View File

@ -9,7 +9,6 @@
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
@ -27,8 +26,10 @@
"property": "power_consume_rate",
"friendlyName": "Power Consumption",
"channel": "powerUsage",
"channelType": "powerUsage",
"type": "Number",
"stateDescription": {
"pattern": "%.0fW"
},
"refresh": true,
"actions": [
{
@ -40,7 +41,6 @@
"property": "wifi_led",
"friendlyName": "wifi LED",
"channel": "led",
"channelType": "led",
"type": "Switch",
"refresh": true,
"actions": [
@ -67,8 +67,10 @@
"property": "current",
"friendlyName": "Current",
"channel": "current",
"channelType": "current",
"type": "Number",
"stateDescription": {
"pattern": "%.2fA"
},
"refresh": true,
"actions": []
},