From f84cbdd24c910e0f57f97805ee7329afbb736dfd Mon Sep 17 00:00:00 2001 From: Marcel Verpaalen Date: Tue, 26 Jan 2021 16:30:56 +0100 Subject: [PATCH 1/2] [miio] add support for zhimi.humidifier.cb2 Smartmi Evaporative Humidifier Signed-off-by: Marcel Verpaalen --- bundles/org.openhab.binding.miio/README.md | 42 ++++++++++++++++++- .../binding/miio/internal/MiIoDevices.java | 1 + .../database/zhimi.humidifier.cb1.json | 37 +++++++++++----- 3 files changed, 68 insertions(+), 12 deletions(-) diff --git a/bundles/org.openhab.binding.miio/README.md b/bundles/org.openhab.binding.miio/README.md index 5c6a77e066543..b24b2bdab1781 100644 --- a/bundles/org.openhab.binding.miio/README.md +++ b/bundles/org.openhab.binding.miio/README.md @@ -467,6 +467,7 @@ Currently the miio binding supports more than 260 different models. | Smartmi Evaporative Humidifier | miio:basic | [zhimi.humidifier.ca1](#zhimi-humidifier-ca1) | Yes | | | Smartmi Evaporative Humidifer 2 | miio:basic | [zhimi.humidifier.ca4](#zhimi-humidifier-ca4) | Yes | | | Smartmi Evaporative Humidifier | miio:basic | [zhimi.humidifier.cb1](#zhimi-humidifier-cb1) | Yes | | +| Smartmi Evaporative Humidifier | miio:basic | [zhimi.humidifier.cb2](#zhimi-humidifier-cb2) | Yes | | | Smartmi Humidifier | miio:basic | [zhimi.humidifier.v1](#zhimi-humidifier-v1) | Yes | | | Mi AI Alarm | miio:unsupported | zimi.clock.myk01 | No | | | Mi Smart Power Strip | miio:basic | [zimi.powerstrip.v2](#zimi-powerstrip-v2) | Yes | | @@ -4353,7 +4354,24 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | power | Switch | Power | | | humidifierMode | String | Humidifier Mode | | | humidity | Number:Dimensionless | Humidity | | -| setHumidity | Number | Humidity Set | | +| setHumidity | Number:Dimensionless | Humidity Set | | +| bright | Dimmer | LED Brightness | | +| buzzer | Switch | Buzzer Status | | +| depth | Number | Depth | | +| dry | Switch | Dry | | +| usedhours | Number:Time | Run Time | | +| motorspeed | Number | Motor Speed | | +| temperature | Number:Temperature | Temperature | | +| childlock | Switch | Child Lock | | + +### Smartmi Evaporative Humidifier (zhimi.humidifier.cb2) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| humidifierMode | String | Humidifier Mode | | +| humidity | Number:Dimensionless | Humidity | | +| setHumidity | Number:Dimensionless | Humidity Set | | | bright | Dimmer | LED Brightness | | | buzzer | Switch | Buzzer Status | | | depth | Number | Depth | | @@ -9032,7 +9050,27 @@ Group G_humidifier "Smartmi Evaporative Humidifier" Switch power "Power" (G_humidifier) {channel="miio:basic:humidifier:power"} String humidifierMode "Humidifier Mode" (G_humidifier) {channel="miio:basic:humidifier:humidifierMode"} Number:Dimensionless humidity "Humidity" (G_humidifier) {channel="miio:basic:humidifier:humidity"} -Number setHumidity "Humidity Set" (G_humidifier) {channel="miio:basic:humidifier:setHumidity"} +Number:Dimensionless setHumidity "Humidity Set" (G_humidifier) {channel="miio:basic:humidifier:setHumidity"} +Dimmer bright "LED Brightness" (G_humidifier) {channel="miio:basic:humidifier:bright"} +Switch buzzer "Buzzer Status" (G_humidifier) {channel="miio:basic:humidifier:buzzer"} +Number depth "Depth" (G_humidifier) {channel="miio:basic:humidifier:depth"} +Switch dry "Dry" (G_humidifier) {channel="miio:basic:humidifier:dry"} +Number:Time usedhours "Run Time" (G_humidifier) {channel="miio:basic:humidifier:usedhours"} +Number motorspeed "Motor Speed" (G_humidifier) {channel="miio:basic:humidifier:motorspeed"} +Number:Temperature temperature "Temperature" (G_humidifier) {channel="miio:basic:humidifier:temperature"} +Switch childlock "Child Lock" (G_humidifier) {channel="miio:basic:humidifier:childlock"} +``` + +### Smartmi Evaporative Humidifier (zhimi.humidifier.cb2) item file lines + +note: Autogenerated example. Replace the id (humidifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. + +```java +Group G_humidifier "Smartmi Evaporative Humidifier" +Switch power "Power" (G_humidifier) {channel="miio:basic:humidifier:power"} +String humidifierMode "Humidifier Mode" (G_humidifier) {channel="miio:basic:humidifier:humidifierMode"} +Number:Dimensionless humidity "Humidity" (G_humidifier) {channel="miio:basic:humidifier:humidity"} +Number:Dimensionless setHumidity "Humidity Set" (G_humidifier) {channel="miio:basic:humidifier:setHumidity"} Dimmer bright "LED Brightness" (G_humidifier) {channel="miio:basic:humidifier:bright"} Switch buzzer "Buzzer Status" (G_humidifier) {channel="miio:basic:humidifier:buzzer"} Number depth "Depth" (G_humidifier) {channel="miio:basic:humidifier:depth"} diff --git a/bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/MiIoDevices.java b/bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/MiIoDevices.java index 4aeb72555a319..f256307d2a3dd 100644 --- a/bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/MiIoDevices.java +++ b/bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/MiIoDevices.java @@ -351,6 +351,7 @@ public enum MiIoDevices { ZHIMI_HUMIDIFIER_CA1("zhimi.humidifier.ca1", "Smartmi Evaporative Humidifier", THING_TYPE_BASIC), ZHIMI_HUMIDIFIER_CA4("zhimi.humidifier.ca4", "Smartmi Evaporative Humidifer 2", THING_TYPE_BASIC), ZHIMI_HUMIDIFIER_CB1("zhimi.humidifier.cb1", "Smartmi Evaporative Humidifier", THING_TYPE_BASIC), + ZHIMI_HUMIDIFIER_CB2("zhimi.humidifier.cb2", "Smartmi Evaporative Humidifier", THING_TYPE_BASIC), ZHIMI_HUMIDIFIER_V1("zhimi.humidifier.v1", "Smartmi Humidifier", THING_TYPE_BASIC), ZIMI_CLOCK_MYK01("zimi.clock.myk01", "Mi AI Alarm", THING_TYPE_UNSUPPORTED), ZIMI_POWERSTRIP_V2("zimi.powerstrip.v2", "Mi Smart Power Strip", THING_TYPE_BASIC), diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.cb1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.cb1.json index f24a7a31dcdde..c52e3ed9a122c 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.cb1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.cb1.json @@ -1,14 +1,14 @@ { "deviceMapping": { "id": [ - "zhimi.humidifier.cb1" + "zhimi.humidifier.cb1", + "zhimi.humidifier.cb2" ], "channels": [ { "property": "power", "friendlyName": "Power", "channel": "power", - "channelType": "power", "type": "Switch", "refresh": true, "actions": [ @@ -59,8 +59,15 @@ "property": "limit_hum", "friendlyName": "Humidity Set", "channel": "setHumidity", - "channelType": "setHumidity", - "type": "Number", + "type": "Number:Dimensionless", + "unit": "PERCENT", + "stateDescription": { + "minimum": 10, + "maximum": 100, + "step": 1, + "pattern": "%.1f %unit%", + "readOnly": false + }, "refresh": true, "ChannelGroup": "Status", "actions": [ @@ -88,7 +95,6 @@ "property": "buzzer", "friendlyName": "Buzzer Status", "channel": "buzzer", - "channelType": "buzzer", "type": "Switch", "refresh": true, "ChannelGroup": "actions", @@ -103,8 +109,11 @@ "property": "depth", "friendlyName": "Depth", "channel": "depth", - "channelType": "depth", "type": "Number", + "stateDescription": { + "pattern": "%.1f %unit%", + "readOnly": true + }, "refresh": true, "ChannelGroup": "Status", "actions": [] @@ -113,7 +122,6 @@ "property": "dry", "friendlyName": "Dry", "channel": "dry", - "channelType": "dry", "type": "Switch", "refresh": true, "ChannelGroup": "Status", @@ -128,9 +136,12 @@ "property": "use_time", "friendlyName": "Run Time", "channel": "usedhours", - "channelType": "usedhours", "type": "Number:Time", "unit": "hours", + "stateDescription": { + "pattern": "%.1f %unit%", + "readOnly": true + }, "refresh": true, "transformation": "SecondsToHours", "ChannelGroup": "Status", @@ -141,8 +152,11 @@ "property": "speed", "friendlyName": "Motor Speed", "channel": "motorspeed", - "channelType": "motorspeed", "type": "Number", + "stateDescription": { + "pattern": "%.0f rpm", + "readOnly": true + }, "refresh": true, "ChannelGroup": "Status", "actions": [] @@ -170,7 +184,6 @@ "property": "child_lock", "friendlyName": "Child Lock", "channel": "childlock", - "channelType": "childlock", "type": "Switch", "refresh": true, "ChannelGroup": "Status", @@ -179,6 +192,10 @@ "command": "set_child_lock", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] } ] From 3d475b49adce23c79f1f808cf60808cf12a94fb0 Mon Sep 17 00:00:00 2001 From: Marcel Verpaalen Date: Wed, 27 Jan 2021 16:04:47 +0100 Subject: [PATCH 2/2] [miio] remove java notation from readme Signed-off-by: Marcel Verpaalen --- bundles/org.openhab.binding.miio/README.md | 480 +++++++++--------- .../binding/miio/internal/ReadmeHelper.java | 2 +- 2 files changed, 241 insertions(+), 241 deletions(-) diff --git a/bundles/org.openhab.binding.miio/README.md b/bundles/org.openhab.binding.miio/README.md index b24b2bdab1781..077064bd470f7 100644 --- a/bundles/org.openhab.binding.miio/README.md +++ b/bundles/org.openhab.binding.miio/README.md @@ -4482,7 +4482,7 @@ Additionally depending on the capabilities of your robot vacuum other channels m note: Autogenerated example. Replace the id (airmonitor) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airmonitor "Mi Multifunction Air Monitor" Number battery "Battery" (G_airmonitor) {channel="miio:basic:airmonitor:battery"} Number pm25 "PM2.5" (G_airmonitor) {channel="miio:basic:airmonitor:pm25"} @@ -4496,7 +4496,7 @@ Number:Temperature temperature "Temperature" (G_airmonitor) {channel="miio:basic note: Autogenerated example. Replace the id (airmonitor) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airmonitor "Qingping Air Monitor" Number battery "Battery" (G_airmonitor) {channel="miio:basic:airmonitor:battery"} Number pm25 "PM2.5" (G_airmonitor) {channel="miio:basic:airmonitor:pm25"} @@ -4510,7 +4510,7 @@ Number:Temperature temperature "Temperature" (G_airmonitor) {channel="miio:basic note: Autogenerated example. Replace the id (plug) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_plug "Mi Smart Power Plug 2 (Wi-Fi and Bluetooth Gateway)" Switch on "Power" (G_plug) {channel="miio:basic:plug:on"} Number:Temperature temperature "Temperature" (G_plug) {channel="miio:basic:plug:temperature"} @@ -4531,7 +4531,7 @@ Switch countdown_info "Imilab Timer - Countdown Info" (G_plug) {channel="miio:ba note: Autogenerated example. Replace the id (plug) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_plug "Mi Smart Plug WiFi" Switch power "Power" (G_plug) {channel="miio:basic:plug:power"} Number:Temperature temperature "Temperature" (G_plug) {channel="miio:basic:plug:temperature"} @@ -4542,7 +4542,7 @@ Switch led "Indicator light" (G_plug) {channel="miio:basic:plug:led"} note: Autogenerated example. Replace the id (plug) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_plug "Mi Smart Plug (WiFi)" Switch power "Power" (G_plug) {channel="miio:basic:plug:power"} Switch usb "USB" (G_plug) {channel="miio:basic:plug:usb"} @@ -4554,7 +4554,7 @@ Switch led "Wifi LED" (G_plug) {channel="miio:basic:plug:led"} note: Autogenerated example. Replace the id (plug) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_plug "Mi Smart Wi-Fi Plug (Bluetooth Gateway)" Switch power "Power" (G_plug) {channel="miio:basic:plug:power"} Switch usb "USB" (G_plug) {channel="miio:basic:plug:usb"} @@ -4566,7 +4566,7 @@ Switch led "Wifi LED" (G_plug) {channel="miio:basic:plug:led"} note: Autogenerated example. Replace the id (plug) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_plug "Mi Plug Mini" Switch power "Power" (G_plug) {channel="miio:basic:plug:power"} Number:Temperature temperature "Temperature" (G_plug) {channel="miio:basic:plug:temperature"} @@ -4577,7 +4577,7 @@ Switch led "Indicator light" (G_plug) {channel="miio:basic:plug:led"} note: Autogenerated example. Replace the id (plug) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_plug "Mi Smart Plug (Wi-Fi) Basic" Switch power "Power" (G_plug) {channel="miio:basic:plug:power"} Number:Temperature temperature "Temperature" (G_plug) {channel="miio:basic:plug:temperature"} @@ -4588,7 +4588,7 @@ Switch led "Indicator light" (G_plug) {channel="miio:basic:plug:led"} note: Autogenerated example. Replace the id (plug) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_plug "Mi Smart Power Plug" Switch power "Power" (G_plug) {channel="miio:basic:plug:power"} Switch usb "USB" (G_plug) {channel="miio:basic:plug:usb"} @@ -4599,7 +4599,7 @@ Number:Temperature temperature "Temperature" (G_plug) {channel="miio:basic:plug: note: Autogenerated example. Replace the id (plug) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_plug "Mi Smart Power Plug v2" Switch power "Power" (G_plug) {channel="miio:basic:plug:power"} Switch usb "USB" (G_plug) {channel="miio:basic:plug:usb"} @@ -4609,7 +4609,7 @@ Switch usb "USB" (G_plug) {channel="miio:basic:plug:usb"} note: Autogenerated example. Replace the id (plug) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_plug "MIJIA Smart Plug Enhanced" Switch power "Power" (G_plug) {channel="miio:basic:plug:power"} Switch usb "USB" (G_plug) {channel="miio:basic:plug:usb"} @@ -4621,7 +4621,7 @@ Switch led "Wifi LED" (G_plug) {channel="miio:basic:plug:led"} note: Autogenerated example. Replace the id (plug) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_plug "Gosund Smart Plug" String FirmwareRevision "Device Information-CurrentFirmware Version" (G_plug) {channel="miio:basic:plug:FirmwareRevision"} String Manufacturer "Device Information-Device Manufacturer" (G_plug) {channel="miio:basic:plug:Manufacturer"} @@ -4634,7 +4634,7 @@ Switch On "Switch-Switch Status" (G_plug) {channel="miio:basic:plug:On"} note: Autogenerated example. Replace the id (airfresh) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airfresh "Mi Fresh Air Ventilator A1-150" Switch power "Power" (G_airfresh) {channel="miio:basic:airfresh:power"} String airFreshMode "Mode" (G_airfresh) {channel="miio:basic:airfresh:airFreshMode"} @@ -4657,7 +4657,7 @@ String airFreshResetFilterA1 "Reset Filter" (G_airfresh) {channel="miio:basic:ai note: Autogenerated example. Replace the id (airfresh) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airfresh "Mi Fresh Air Ventilator" Switch power "Power" (G_airfresh) {channel="miio:basic:airfresh:power"} String airFreshMode "Mode" (G_airfresh) {channel="miio:basic:airfresh:airFreshMode"} @@ -4684,7 +4684,7 @@ String airFreshResetFilter "Reset Filter" (G_airfresh) {channel="miio:basic:airf note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Mi Smart Standing Fan 2 Lite" String Manufacturer "Device Information-Device Manufacturer" (G_fan) {channel="miio:basic:fan:Manufacturer"} String Model "Device Information-Device Model" (G_fan) {channel="miio:basic:fan:Model"} @@ -4704,7 +4704,7 @@ Switch PhysicalControlsLocked "Physical Control Locked-Physical Control Locked" note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Mi Smart Standing Fan 1X" Switch power "Power" (G_fan) {channel="miio:basic:fan:power"} Switch roll "Rotation" (G_fan) {channel="miio:basic:fan:roll"} @@ -4721,7 +4721,7 @@ Number speed "Speed" (G_fan) {channel="miio:basic:fan:speed"} note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Mi Smart Standing Fan 1C" String Manufacturer "Device Information-Device Manufacturer" (G_fan) {channel="miio:basic:fan:Manufacturer"} String Model "Device Information-Device Model" (G_fan) {channel="miio:basic:fan:Model"} @@ -4741,7 +4741,7 @@ Switch PhysicalControlsLocked "Physical Control Locked-Physical Control Locked" note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Mi Smart Tower Fan" String Manufacturer "Device Information-Device Manufacturer" (G_fan) {channel="miio:basic:fan:Manufacturer"} String Model "Device Information-Device Model" (G_fan) {channel="miio:basic:fan:Model"} @@ -4764,7 +4764,7 @@ Switch PhysicalControlsLocked "Physical Control Locked-Physical Control Locked" note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Mi Smart Standing Fan 2" String Manufacturer "Device Information-Device Manufacturer" (G_fan) {channel="miio:basic:fan:Manufacturer"} String Model "Device Information-Device Model" (G_fan) {channel="miio:basic:fan:Model"} @@ -4787,7 +4787,7 @@ Switch PhysicalControlsLocked "Physical Control Locked-Physical Control Locked" note: Autogenerated example. Replace the id (vacuum) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_vacuum "Mi Robot Vacuum Mop 1C STYTJ01ZHM" String vacuumaction "Vacuum Action" (G_vacuum) {channel="miio:basic:vacuum:vacuumaction"} Number BatteryLevel "Battery-Battery Level" (G_vacuum) {channel="miio:basic:vacuum:BatteryLevel"} @@ -4826,7 +4826,7 @@ String TimeZone "Time - Time Zone" (G_vacuum) {channel="miio:basic:vacuum:TimeZo note: Autogenerated example. Replace the id (vacuum) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_vacuum "Dreame Robot Vacuum-Mop F9" Number status "Robot Cleaner - Status" (G_vacuum) {channel="miio:basic:vacuum:status"} Number fault "Robot Cleaner - Device Fault" (G_vacuum) {channel="miio:basic:vacuum:fault"} @@ -4866,7 +4866,7 @@ Number save_map_status "Vslam Extend - Save Map Status" (G_vacuum) {channel="mii note: Autogenerated example. Replace the id (vacuum) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_vacuum "Dreame Robot Vacuum D9 " String vacuumaction "Vacuum Action" (G_vacuum) {channel="miio:basic:vacuum:vacuumaction"} Number status "Robot Cleaner - Status" (G_vacuum) {channel="miio:basic:vacuum:status"} @@ -4911,7 +4911,7 @@ Number total_clean_area "Clean Logs - Total Clean Area" (G_vacuum) {channel="mii 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 ARIES For Bedroom" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -4922,7 +4922,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan 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 ARIES For Living Room" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -4933,7 +4933,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan 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" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -4948,7 +4948,7 @@ Number mode "Fan - Mode" (G_light) {channel="miio:basic:light:mode"} 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)" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -4969,7 +4969,7 @@ Switch flabellum "Presets - Flabellum" (G_light) {channel="miio:basic:light:flab note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO PEGASUS For Living Room" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -4980,7 +4980,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO PEGASUS For Bedroom" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -4991,7 +4991,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan 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 PISCES For Bedroom" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5002,7 +5002,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan 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 PISCES For Living Room" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5013,7 +5013,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan 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 TAURUS For Bedroom" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5024,7 +5024,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan 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 TAURUS For Living Room" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5035,7 +5035,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan 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 VIRGO For Bedroom" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5046,7 +5046,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan 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 VIRGO For Living Room" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5057,7 +5057,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan 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 Ceiling Light" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5068,7 +5068,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan 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)" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5079,7 +5079,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan 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)" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5090,7 +5090,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan 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)" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5101,7 +5101,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan 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)" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5112,7 +5112,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan 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" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5123,7 +5123,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan 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" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5138,7 +5138,7 @@ Switch screenshow "Other - Screenshow" (G_light) {channel="miio:basic:light:scre note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO ZIWEI Ceiling Lamp" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5149,7 +5149,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan note: Autogenerated example. Replace the id (curtain) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_curtain "Xiaomiyoupin Curtain Controller (Wi-Fi)" 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"} @@ -5166,7 +5166,7 @@ Number run_time "curtain_cfg - Run-time" (G_curtain) {channel="miio:basic:curtai note: Autogenerated example. Replace the id (gateway) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_gateway "Mi Air Purifier virtual" Switch telnetEnable "Enable Telnet" (G_gateway) {channel="miio:basic:gateway:telnetEnable"} Number doorbellVol "Doorbell Volume" (G_gateway) {channel="miio:basic:gateway:doorbellVol"} @@ -5179,7 +5179,7 @@ String doorbellPush "Doorbell Push" (G_gateway) {channel="miio:basic:gateway:doo note: Autogenerated example. Replace the id (gateway) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_gateway "Mi smart Home Gateway Hub v1" Switch telnetEnable "Enable Telnet" (G_gateway) {channel="miio:basic:gateway:telnetEnable"} Number doorbellVol "Doorbell Volume" (G_gateway) {channel="miio:basic:gateway:doorbellVol"} @@ -5192,7 +5192,7 @@ String doorbellPush "Doorbell Push" (G_gateway) {channel="miio:basic:gateway:doo note: Autogenerated example. Replace the id (gateway) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_gateway "Mi smart Home GatewayHub v2" Switch telnetEnable "Enable Telnet" (G_gateway) {channel="miio:basic:gateway:telnetEnable"} Number doorbellVol "Doorbell Volume" (G_gateway) {channel="miio:basic:gateway:doorbellVol"} @@ -5205,7 +5205,7 @@ String doorbellPush "Doorbell Push" (G_gateway) {channel="miio:basic:gateway:doo note: Autogenerated example. Replace the id (gateway) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_gateway "Mi mart Home Gateway Hub v3" Switch telnetEnable "Enable Telnet" (G_gateway) {channel="miio:basic:gateway:telnetEnable"} Number doorbellVol "Doorbell Volume" (G_gateway) {channel="miio:basic:gateway:doorbellVol"} @@ -5218,7 +5218,7 @@ String doorbellPush "Doorbell Push" (G_gateway) {channel="miio:basic:gateway:doo note: Autogenerated example. Replace the id (vacuum) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_vacuum "Mi Robot Vacuum-Mop Essential" String vacuumaction "Vacuum Action" (G_vacuum) {channel="miio:basic:vacuum:vacuumaction"} Number status "Robot Cleaner - Status" (G_vacuum) {channel="miio:basic:vacuum:status"} @@ -5250,7 +5250,7 @@ Number mop_status "Other Status - Mop Status" (G_vacuum) {channel="miio:basic:va note: Autogenerated example. Replace the id (pet_waterer) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_pet_waterer "Mijia Smart Pet Water Dispenser" Number fault "Pet Drinking Fountain - Device Fault" (G_pet_waterer) {channel="miio:basic:pet_waterer:fault"} Switch on "Power" (G_pet_waterer) {channel="miio:basic:pet_waterer:on"} @@ -5268,7 +5268,7 @@ Number:Time no_water_time "No Water Flag - No Water Time" (G_pet_waterer) {chann note: Autogenerated example. Replace the id (pet_waterer) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_pet_waterer "Mijia Smart Pet Water Dispenser" Number fault "Pet Drinking Fountain - Device Fault" (G_pet_waterer) {channel="miio:basic:pet_waterer:fault"} Switch on "Power" (G_pet_waterer) {channel="miio:basic:pet_waterer:on"} @@ -5287,7 +5287,7 @@ Switch pump_block_flag "No Water Flag - Pump Block Flag" (G_pet_waterer) {channe note: Autogenerated example. Replace the id (pet_waterer) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_pet_waterer "Mijia Smart Pet Water Dispenser" Number fault "Pet Drinking Fountain - Device Fault" (G_pet_waterer) {channel="miio:basic:pet_waterer:fault"} Switch on "Power" (G_pet_waterer) {channel="miio:basic:pet_waterer:on"} @@ -5306,7 +5306,7 @@ Switch pump_block_flag "No Water Flag - Pump Block Flag" (G_pet_waterer) {channe note: Autogenerated example. Replace the id (pet_waterer) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_pet_waterer "XIAOWAN Smart Pet Water Dispenser" Number fault "Pet Drinking Fountain - Device Fault" (G_pet_waterer) {channel="miio:basic:pet_waterer:fault"} Switch on "Power" (G_pet_waterer) {channel="miio:basic:pet_waterer:on"} @@ -5325,7 +5325,7 @@ Switch pump_block_flag "No Water Flag - Pump Block Flag" (G_pet_waterer) {channe note: Autogenerated example. Replace the id (airer) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airer "MR.BOND" Switch dry "Dry" (G_airer) {channel="miio:basic:airer:dry"} Switch led "LED Status" (G_airer) {channel="miio:basic:airer:led"} @@ -5340,7 +5340,7 @@ Number distime "Disinfect Time" (G_airer) {channel="miio:basic:airer:distime"} note: Autogenerated example. Replace the id (airer) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airer "MR.BOND" Switch dry "Dry" (G_airer) {channel="miio:basic:airer:dry"} Switch led "LED Status" (G_airer) {channel="miio:basic:airer:led"} @@ -5355,7 +5355,7 @@ Number distime "Disinfect Time" (G_airer) {channel="miio:basic:airer:distime"} note: Autogenerated example. Replace the id (airer) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airer "MR.BOND" Switch dry "Dry" (G_airer) {channel="miio:basic:airer:dry"} Switch led "LED Status" (G_airer) {channel="miio:basic:airer:led"} @@ -5370,7 +5370,7 @@ Number distime "Disinfect Time" (G_airer) {channel="miio:basic:airer:distime"} note: Autogenerated example. Replace the id (derh) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_derh "WIDETECH WDH318EFW1 Internet Dehumidifier" Switch power "Power" (G_derh) {channel="miio:basic:derh:power"} String mode "Mode" (G_derh) {channel="miio:basic:derh:mode"} @@ -5392,7 +5392,7 @@ String alarm "Alarm" (G_derh) {channel="miio:basic:derh:alarm"} 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 "Philips Zhirui Ceiling Lamp Bedroom 40W" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5411,7 +5411,7 @@ Switch mb "MiBand" (G_light) {channel="miio:basic:light:mb"} 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 "Philips Zhirui Ceiling Lamp Bedroom 28W" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5430,7 +5430,7 @@ Switch mb "MiBand" (G_light) {channel="miio:basic:light:mb"} 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 "Philips ZhiRui E27 bulb" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5445,7 +5445,7 @@ Switch delayoff "Delay Off" (G_light) {channel="miio:basic:light:delayoff"} 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 "Philips ZhiRui E14 candle lamp Frosted version" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5459,7 +5459,7 @@ Switch toggle "Toggle" (G_light) {channel="miio:basic:light:toggle"} 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 "Philips ZhiRui E14 candle lamp crystal version" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5473,7 +5473,7 @@ Switch toggle "Toggle" (G_light) {channel="miio:basic:light:toggle"} 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 "Mijia Philips Color Bulb" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5489,7 +5489,7 @@ Switch delayoff "Delay Off" (G_light) {channel="miio:basic:light:delayoff"} 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 "Philips Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5505,7 +5505,7 @@ Switch delayoff "Delay Off" (G_light) {channel="miio:basic:light:delayoff"} 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 "Philips connected ceiling" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5519,7 +5519,7 @@ Switch toggle "Toggle" (G_light) {channel="miio:basic:light:toggle"} 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 "Philips Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5535,7 +5535,7 @@ Switch delayoff "Delay Off" (G_light) {channel="miio:basic:light:delayoff"} 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 "ZhiRui dimmable downlight" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5553,7 +5553,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband 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 "Philips ZhiRui downlight" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5568,7 +5568,7 @@ Switch delayoff "Delay Off" (G_light) {channel="miio:basic:light:delayoff"} 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 "Philips Wi-Fi bulb E27 White" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5583,7 +5583,7 @@ Switch delayoff "Delay Off" (G_light) {channel="miio:basic:light:delayoff"} 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 "Philips ZhiYi Ceiling lamp FL 40W" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5602,7 +5602,7 @@ Switch mb "MiBand" (G_light) {channel="miio:basic:light:mb"} 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 "Philips ZhiYi Ceiling lamp FL 28W" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5621,7 +5621,7 @@ Switch mb "MiBand" (G_light) {channel="miio:basic:light:mb"} 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 "Philips ZhiYi Ceiling lamp FL 80W" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5640,7 +5640,7 @@ Switch mb "MiBand" (G_light) {channel="miio:basic:light:mb"} 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 "Philips Zhirui Ceiling Lamp Living room 80W" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5659,7 +5659,7 @@ Switch mb "MiBand" (G_light) {channel="miio:basic:light:mb"} 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 "Zhirui Ceiling Lamp Nordic 80W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5677,7 +5677,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband 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 "Zhirui Ceiling Lamp Nordic 40W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5695,7 +5695,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband 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 "Zhirui Ceiling Lamp Nordic 28W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5713,7 +5713,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband 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 "Philips Smart Lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5724,7 +5724,7 @@ Number scene "Scene" (G_light) {channel="miio:basic:light:scene"} 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 "Philips ZhiRui bedside lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5740,7 +5740,7 @@ Switch toggle "Toggle" (G_light) {channel="miio:basic:light:toggle"} 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 "Zhirui Ceiling Lamp Black 80W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5758,7 +5758,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband 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 " Zhirui Ceiling Lamp Black 40W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5776,7 +5776,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband 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 "Zhirui Ceiling Lamp Black 28W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5794,7 +5794,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband 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 "Mijia Philips Study Desk Lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5807,7 +5807,7 @@ Number dv "DV" (G_light) {channel="miio:basic:light:dv"} 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 "Zhirui Ceiling Lamp Starry 80W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5825,7 +5825,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband 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 "Zhirui Ceiling Lamp Starry 40W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5843,7 +5843,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband 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 "Zhirui Ceiling Lamp Starry 28W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5861,7 +5861,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband 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 "Philips EyeCare connected desk lamp gen2." Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5876,7 +5876,7 @@ Switch bl "Night Light" (G_light) {channel="miio:basic:light:bl"} 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 "Mijia Philips Desk Lamp 2S" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5891,7 +5891,7 @@ Switch bl "Night Light" (G_light) {channel="miio:basic:light:bl"} 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 "Philips connected lights" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5906,7 +5906,7 @@ Switch delayoff "Delay Off" (G_light) {channel="miio:basic:light:delayoff"} 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 "Zhirui Ceiling Lamp Gorgeous 80W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5924,7 +5924,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband 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 "Zhirui Ceiling Lamp Gorgeous 40W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5942,7 +5942,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband 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 "Zhirui Ceiling Lamp Gorgeous 28W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5960,7 +5960,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband 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 "Philips ZhiYi ceiling lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5974,7 +5974,7 @@ Switch toggle "Toggle" (G_light) {channel="miio:basic:light:toggle"} 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 "Philips ZhiYi desk lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5989,7 +5989,7 @@ Switch delayoff "Delay Off" (G_light) {channel="miio:basic:light:delayoff"} 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 "Philips ZhiYi strip" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -6004,7 +6004,7 @@ Switch delayoff "Delay Off" (G_light) {channel="miio:basic:light:delayoff"} note: Autogenerated example. Replace the id (powerstrip) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_powerstrip "CHINGMI Smart Power Strip v1" Switch power "Power" (G_powerstrip) {channel="miio:basic:powerstrip:power"} Number powerUsage "Power Consumption" (G_powerstrip) {channel="miio:basic:powerstrip:powerUsage"} @@ -6021,7 +6021,7 @@ Number lp_threshold "Low Power Threshold" (G_powerstrip) {channel="miio:basic:po note: Autogenerated example. Replace the id (switch) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_switch "PTX OneKey Switch (WIFI)" Number switch1state "Switch 1" (G_switch) {channel="miio:basic:switch:switch1state"} String switch1name "Switch Name 1" (G_switch) {channel="miio:basic:switch:switch1name"} @@ -6031,7 +6031,7 @@ String switch1name "Switch Name 1" (G_switch) {channel="miio:basic:switch:switch note: Autogenerated example. Replace the id (switch) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_switch "PTX Twokey switch(wifi)" Number switch1state "Switch 1" (G_switch) {channel="miio:basic:switch:switch1state"} Number switch2state "Switch 2" (G_switch) {channel="miio:basic:switch:switch2state"} @@ -6043,7 +6043,7 @@ String switch2name "Switch Name 2" (G_switch) {channel="miio:basic:switch:switch note: Autogenerated example. Replace the id (switch) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_switch "PTX ThreeKey Switch (WIFI)" Number switch1state "Switch 1" (G_switch) {channel="miio:basic:switch:switch1state"} Number switch2state "Switch 2" (G_switch) {channel="miio:basic:switch:switch2state"} @@ -6057,7 +6057,7 @@ String switch3name "Switch Name 3" (G_switch) {channel="miio:basic:switch:switch note: Autogenerated example. Replace the id (coffee) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_coffee "SCISHARE Smart Capsule Coffee Machine" Switch power "Power" (G_coffee) {channel="miio:basic:coffee:power"} String Status "status" (G_coffee) {channel="miio:basic:coffee:Status"} @@ -6070,7 +6070,7 @@ Number boil "Boil water" (G_coffee) {channel="miio:basic:coffee:boil"} note: Autogenerated example. Replace the id (coffee) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_coffee "Xiaomi Scishare smart capsule coffee machine" Switch power "Power" (G_coffee) {channel="miio:basic:coffee:power"} String Status "status" (G_coffee) {channel="miio:basic:coffee:Status"} @@ -6083,7 +6083,7 @@ Number boil "Boil water" (G_coffee) {channel="miio:basic:coffee:boil"} note: Autogenerated example. Replace the id (vacuum) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_vacuum "Viomi Cleaning Robot V-RVCLM21B" Number vacuumaction "Vacuum Action" (G_vacuum) {channel="miio:basic:vacuum:vacuumaction"} Number state "State" (G_vacuum) {channel="miio:basic:vacuum:state"} @@ -6106,7 +6106,7 @@ Number has_newmap "has_newmap" (G_vacuum) {channel="miio:basic:vacuum:has_newmap note: Autogenerated example. Replace the id (vacuum) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_vacuum "Mi Robot Vacuum-Mop P" Number vacuumaction "Vacuum Action" (G_vacuum) {channel="miio:basic:vacuum:vacuumaction"} Number state "State" (G_vacuum) {channel="miio:basic:vacuum:state"} @@ -6129,7 +6129,7 @@ Number has_newmap "has_newmap" (G_vacuum) {channel="miio:basic:vacuum:has_newmap note: Autogenerated example. Replace the id (vacuum) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_vacuum "Mi Robot Vacuum-Mop P" Number vacuumaction "Vacuum Action" (G_vacuum) {channel="miio:basic:vacuum:vacuumaction"} Number state "State" (G_vacuum) {channel="miio:basic:vacuum:state"} @@ -6152,7 +6152,7 @@ Number has_newmap "has_newmap" (G_vacuum) {channel="miio:basic:vacuum:has_newmap note: Autogenerated example. Replace the id (waterheater) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterheater "VIOMI Internet electric water heater 1A (60L)" Number washStatus "Wash Status" (G_waterheater) {channel="miio:basic:waterheater:washStatus"} Number velocity "Velocity" (G_waterheater) {channel="miio:basic:waterheater:velocity"} @@ -6170,7 +6170,7 @@ Number appointEnd "Appoint End" (G_waterheater) {channel="miio:basic:waterheater note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Inverter Air Conditioner (1.5HP)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6190,7 +6190,7 @@ Switch on1 "Indicator Light - Switch Status" (G_aircondition) {channel="miio:bas note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Inverter Air Conditioner (1.5HP, China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6210,7 +6210,7 @@ Switch on1 "Indicator Light - Switch Status" (G_aircondition) {channel="miio:bas note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Vertical Air Conditioner (2HP)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6230,7 +6230,7 @@ Switch on1 "Indicator Light - Switch Status" (G_aircondition) {channel="miio:bas note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Vertical Air Conditioner C1 (2HP / Inverter / China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6250,7 +6250,7 @@ Switch on1 "Indicator Light - Switch Status" (G_aircondition) {channel="miio:bas note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Air Conditioner C1 (1.5HP / Conventional / China Energy Label Level 3)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6270,7 +6270,7 @@ Switch on1 "Indicator Light - Switch Status" (G_aircondition) {channel="miio:bas note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Air Conditioner C1 (1HP / Inverter / China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6290,7 +6290,7 @@ Switch on1 "Indicator Light - Switch Status" (G_aircondition) {channel="miio:bas note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Air Conditioner A (1HP / Inverter / China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6317,7 +6317,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Air Conditioner A (1.5HP / Inverter / China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6344,7 +6344,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Air Conditioner A (1HP / Inverter / China Energy Label Level <1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6371,7 +6371,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Air Conditioner A (1.5HP / Inverter / China Energy Label Level <1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6398,7 +6398,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Vertical Air Conditioner A (2HP / Inverter / China Energy Label Level <1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6425,7 +6425,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Vertical Air Conditioner A (3HP / Inverter / China Energy Label Level <1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6452,7 +6452,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Ultra Electricity Saving Air Conditioner(1.5HP/Inverter/New China Energy Label Level 3)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6479,7 +6479,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Ultra Electricity Saving Vertical Air Conditioner(2HP/Inverter/New China Energy Label Level 3)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6506,7 +6506,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Ultra Electricity Saving Vertical Air Conditioner (2HP/Inverter/New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6533,7 +6533,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Ultra Electricity Saving Vertical Air Conditioner (3HP/Inverter/New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6560,7 +6560,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Air Conditioner C (1HP / Inverter / New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6587,7 +6587,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Air Conditioner C (1.5HP / Inverter / New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6614,7 +6614,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Ultra Electricity Saving Air Conditioner(1HP/Inverter/New China Energy Label Level 3)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6641,7 +6641,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Air Conditioner X (1HP / Inverter / New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6668,7 +6668,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Air Conditioner X (1.5HP / Inverter / New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6695,7 +6695,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Gentle Breeze Air Conditioner (1HP / Inverter / New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6722,7 +6722,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Gentle Breeze Air Conditioner (1.5HP / Inverter / New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6749,7 +6749,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Gentle Breeze Vertical Air Conditioner (3HP / Inverter / New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6776,7 +6776,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Ultra Electricity Saving Air Conditioner (1HP/Inverter/New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6803,7 +6803,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Ultra Electricity Saving Air Conditioner (1.5HP/Inverter/New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6830,7 +6830,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (toilet) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_toilet "Uclean Smart Toilet Seat" Number:Temperature seat_temp "Seat Temperature" (G_toilet) {channel="miio:basic:toilet:seat_temp"} Number status_seatheat "Seat Status" (G_toilet) {channel="miio:basic:toilet:status_seatheat"} @@ -6843,7 +6843,7 @@ Number status_led "Night Light" (G_toilet) {channel="miio:basic:toilet:status_le note: Autogenerated example. Replace the id (toilet) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_toilet "Uclean smart toilet pure" Number:Temperature seat_temp "Seat Temperature" (G_toilet) {channel="miio:basic:toilet:seat_temp"} Number status_seatheat "Seat Status" (G_toilet) {channel="miio:basic:toilet:status_seatheat"} @@ -6856,7 +6856,7 @@ Number status_led "Night Light" (G_toilet) {channel="miio:basic:toilet:status_le note: Autogenerated example. Replace the id (toilet) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_toilet "Uclean smart toilet relax" Number:Temperature seat_temp "Seat Temperature" (G_toilet) {channel="miio:basic:toilet:seat_temp"} Number status_seatheat "Seat Status" (G_toilet) {channel="miio:basic:toilet:status_seatheat"} @@ -6869,7 +6869,7 @@ Number status_led "Night Light" (G_toilet) {channel="miio:basic:toilet:status_le note: Autogenerated example. Replace the id (toilet) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_toilet "Whale Spout Smart Toilet Zero" Number:Temperature seat_temp "Seat Temperature" (G_toilet) {channel="miio:basic:toilet:seat_temp"} Number status_seatheat "Seat Status" (G_toilet) {channel="miio:basic:toilet:status_seatheat"} @@ -6882,7 +6882,7 @@ Number status_led "Night Light" (G_toilet) {channel="miio:basic:toilet:status_le note: Autogenerated example. Replace the id (bhf_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_bhf_light "Yeelight Smart Bath Heater Pro" Switch power "Power" (G_bhf_light) {channel="miio:basic:bhf_light:power"} String bh_mode "Bath Heater mode" (G_bhf_light) {channel="miio:basic:bhf_light:bh_mode"} @@ -6896,7 +6896,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_bhf_light) {channel="miio note: Autogenerated example. Replace the id (bhf_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_bhf_light "Yeelight Smart Bath Heater" Switch power "Power" (G_bhf_light) {channel="miio:basic:bhf_light:power"} String bh_mode "Bath Heater mode" (G_bhf_light) {channel="miio:basic:bhf_light:bh_mode"} @@ -6910,7 +6910,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_bhf_light) {channel="miio 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 "Mi Bedside Lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -6925,7 +6925,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Mi Bedside Lamp 2" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -6940,7 +6940,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Yeelight Bedside Lamp II" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -6955,7 +6955,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Yeelight Ceiling Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -6971,7 +6971,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Yeelight Ceiling Light SE" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -6987,7 +6987,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Yeelight LED Ceiling Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7003,7 +7003,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Yeelight LED Ceiling Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7024,7 +7024,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (ceiling4) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_ceiling4 "Yeelight LED Ceiling Ambi Lamp" Switch power "Power" (G_ceiling4) {channel="miio:basic:ceiling4:power"} Dimmer brightness "Brightness" (G_ceiling4) {channel="miio:basic:ceiling4:brightness"} @@ -7040,7 +7040,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_ceiling4) {channel="miio: 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 "Mi LED Ceiling Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7056,7 +7056,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Yeelight HaoShi LED Ceiling Lamp Pro" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7072,7 +7072,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Yeelight Haoshi Ceiling Lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7088,7 +7088,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "LED Ceiling Light Crystal Plus" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7104,7 +7104,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Yeelight HaoShi LED Ceiling Lamp Pro" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7120,7 +7120,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Yeelight Crystal Pendant Lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7141,7 +7141,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (ceiling10) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_ceiling10 "Yeelight LED Ceiling Ambi Lamp" Switch power "Power" (G_ceiling10) {channel="miio:basic:ceiling10:power"} Dimmer brightness "Brightness" (G_ceiling10) {channel="miio:basic:ceiling10:brightness"} @@ -7157,7 +7157,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_ceiling10) {channel="miio 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 "Yeelight Ceiling Light 320 1S" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7173,7 +7173,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Yeelight stylized Ceiling Light Pro" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7189,7 +7189,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Yeelight Ceiling Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7205,7 +7205,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Yeelight Ceiling Light Mini" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7221,7 +7221,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Yeelight Ceiling Light 480 1S" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7237,7 +7237,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Yeelight Xingyu Ceiling Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7253,7 +7253,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Yeelight ShaoHua Celing Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7269,7 +7269,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Yeelight Ceiling Light Pro" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7285,7 +7285,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Yeelight Ceiling Light Pro" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7301,7 +7301,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (ceiling19) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_ceiling19 "Yeelight LED Ceiling Ambi Lamp" Switch power "Power" (G_ceiling19) {channel="miio:basic:ceiling19:power"} Dimmer brightness "Brightness" (G_ceiling19) {channel="miio:basic:ceiling19:brightness"} @@ -7317,7 +7317,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_ceiling19) {channel="miio 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 "Yeelight Ceiling Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7333,7 +7333,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (ceiling20) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_ceiling20 "Yeelight LED Ceiling Ambi Lamp" Switch power "Power" (G_ceiling20) {channel="miio:basic:ceiling20:power"} Dimmer brightness "Brightness" (G_ceiling20) {channel="miio:basic:ceiling20:brightness"} @@ -7349,7 +7349,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_ceiling20) {channel="miio 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 "Mi Smart LED Living Room Ceiling Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7365,7 +7365,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Mi Smart LED Ceiling Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7381,7 +7381,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Mi Smart LED Ceiling Light (350mm)" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7397,7 +7397,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Yeelight Color Bulb" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7412,7 +7412,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Yeelight LED Bulb (Color)" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7427,7 +7427,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Mi LED Smart Bulb (White and Color)" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7442,7 +7442,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Yeelight LED Bulb 1S(Color)" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7457,7 +7457,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Yeelight LED Bulb (Tunable)" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7471,7 +7471,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Mi LED Desk Lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7485,7 +7485,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Mi Smart LED Desk Lamp Pro" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7499,7 +7499,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Yeelight LED Lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7513,7 +7513,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Mi LED Desk Lamp 1S" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7527,7 +7527,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Yeelight Smart Desk Lamp Prime" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7541,7 +7541,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Yeelight" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7555,7 +7555,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Yeelight LED Light Sensor Desk Lamp V1" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7569,7 +7569,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Yeelight" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7583,7 +7583,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Yeelight Bulb" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7597,7 +7597,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Yeelight White Bulb v2" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7611,7 +7611,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Yeelight LED Filament Bulb" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7625,7 +7625,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Yeelight Whiteglow Panel Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7641,7 +7641,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Yeelight Lightstrip" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7656,7 +7656,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Yeelight Lightstrip Plus" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7671,7 +7671,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Yeelight Willow LED Lightstrip" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7685,7 +7685,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} 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 "Light Group (Mi & Yeelight)" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7699,7 +7699,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (switch) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_switch "Yeelight Smart Dual Control Module" Switch on "First Switch - Switch Status" (G_switch) {channel="miio:basic:switch:on"} Number mode "First Switch Default - Mode" (G_switch) {channel="miio:basic:switch:mode"} @@ -7716,7 +7716,7 @@ String rc_list "Extension - Rc List" (G_switch) {channel="miio:basic:switch:rc-l 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 "Yilai Ceiling Light Aiyue 480" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7732,7 +7732,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Yilai Ceiling Lamp Hefeng 430" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7748,7 +7748,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas 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 "Yilai Ceiling Lamp Hefeng Pro" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7764,7 +7764,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier lx2" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"} @@ -7798,7 +7798,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier (Under Counter)" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"} @@ -7832,7 +7832,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier lx4" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"} @@ -7866,7 +7866,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier 1A/400G Pro" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"} @@ -7900,7 +7900,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier (Under Counter)" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"} @@ -7934,7 +7934,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier 500G/500G Pro" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"} @@ -7968,7 +7968,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier 600G" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number rinse "Rinse" (G_waterpuri) {channel="miio:basic:waterpuri:rinse"} @@ -8000,7 +8000,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier D1" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"} @@ -8034,7 +8034,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier lx10" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"} @@ -8068,7 +8068,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier C1 (Triple Setting)" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"} @@ -8102,7 +8102,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier S1" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"} @@ -8136,7 +8136,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpurifier "Mi Water Purifier v1" Number run_status "Run Status" (G_waterpurifier) {channel="miio:basic:waterpurifier:run_status"} Number:Temperature temperature "Temperature" (G_waterpurifier) {channel="miio:basic:waterpurifier:temperature"} @@ -8170,7 +8170,7 @@ Number lightMode "Light Mode" (G_waterpurifier) {channel="miio:basic:waterpurifi note: Autogenerated example. Replace the id (waterpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpurifier "Mi Water Purifier v2" Number run_status "Run Status" (G_waterpurifier) {channel="miio:basic:waterpurifier:run_status"} Number:Temperature temperature "Temperature" (G_waterpurifier) {channel="miio:basic:waterpurifier:temperature"} @@ -8204,7 +8204,7 @@ Number lightMode "Light Mode" (G_waterpurifier) {channel="miio:basic:waterpurifi note: Autogenerated example. Replace the id (waterpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpurifier "Mi Water Purifier (Under sink) v3" Number run_status "Run Status" (G_waterpurifier) {channel="miio:basic:waterpurifier:run_status"} Number:Temperature temperature "Temperature" (G_waterpurifier) {channel="miio:basic:waterpurifier:temperature"} @@ -8238,7 +8238,7 @@ Number lightMode "Light Mode" (G_waterpurifier) {channel="miio:basic:waterpurifi note: Autogenerated example. Replace the id (waterpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpurifier "Mi Water Purifier v4" Number run_status "Run Status" (G_waterpurifier) {channel="miio:basic:waterpurifier:run_status"} Number:Temperature temperature "Temperature" (G_waterpurifier) {channel="miio:basic:waterpurifier:temperature"} @@ -8272,7 +8272,7 @@ Number lightMode "Light Mode" (G_waterpurifier) {channel="miio:basic:waterpurifi note: Autogenerated example. Replace the id (airmonitor) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airmonitor "Mi PM2.5 Air Quality Monitor" Switch power "Power" (G_airmonitor) {channel="miio:basic:airmonitor:power"} Number aqi "Air Quality Index" (G_airmonitor) {channel="miio:basic:airmonitor:aqi"} @@ -8288,7 +8288,7 @@ Number night_end "Night End Time" (G_airmonitor) {channel="miio:basic:airmonitor note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier 2 (mini)" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8312,7 +8312,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier 2" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8336,7 +8336,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier 2S" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8360,7 +8360,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier 2S" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8384,7 +8384,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier 3" Number fault "Air Purifier - Device Fault" (G_airpurifier) {channel="miio:basic:airpurifier:fault"} Switch on "Air Purifier - Switch Status" (G_airpurifier) {channel="miio:basic:airpurifier:on"} @@ -8442,7 +8442,7 @@ Number manual_level "Others - Manual Level" (G_airpurifier) {channel="miio:basic note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier 2S" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8466,7 +8466,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier 3/3H" Number fault "Air Purifier - Fault" (G_airpurifier) {channel="miio:basic:airpurifier:fault"} Switch on "Air Purifier - Switch Status" (G_airpurifier) {channel="miio:basic:airpurifier:on"} @@ -8525,7 +8525,7 @@ Number country_code "Others - National Code" (G_airpurifier) {channel="miio:basi note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier 3C" Switch on "Power" (G_airpurifier) {channel="miio:basic:airpurifier:on"} String fault "Air Purifier - Device Fault" (G_airpurifier) {channel="miio:basic:airpurifier:fault"} @@ -8546,7 +8546,7 @@ Number:Time aqi_updata_heartbeat "Custom Service - Aqi Updata Heartbeat" (G_airp note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier 2S" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8570,7 +8570,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier 2H" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8594,7 +8594,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier Super" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8618,7 +8618,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier MAX / MAX Pro" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8642,7 +8642,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier v1" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8666,7 +8666,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier v2" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8690,7 +8690,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier v3" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8714,7 +8714,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier v5" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8738,7 +8738,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier Pro v6" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8762,7 +8762,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier Pro v7" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8786,7 +8786,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Mi Standing Fan" Switch power "Power" (G_fan) {channel="miio:basic:fan:power"} Switch angleEnable "Rotation" (G_fan) {channel="miio:basic:fan:angleEnable"} @@ -8807,7 +8807,7 @@ String move "Move Direction" (G_fan) {channel="miio:basic:fan:move"} note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Mi Smart Fan" Switch power "Power" (G_fan) {channel="miio:basic:fan:power"} Switch angleEnable "Rotation" (G_fan) {channel="miio:basic:fan:angleEnable"} @@ -8832,7 +8832,7 @@ String move "Move Direction" (G_fan) {channel="miio:basic:fan:move"} note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Smartmi DC Pedestal Fan" Switch power "Power" (G_fan) {channel="miio:basic:fan:power"} Switch angleEnable "Rotation" (G_fan) {channel="miio:basic:fan:angleEnable"} @@ -8857,7 +8857,7 @@ String move "Move Direction" (G_fan) {channel="miio:basic:fan:move"} note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Smartmi DC Pedestal Fan" Switch power "Power" (G_fan) {channel="miio:basic:fan:power"} Switch angleEnable "Rotation" (G_fan) {channel="miio:basic:fan:angleEnable"} @@ -8882,7 +8882,7 @@ String move "Move Direction" (G_fan) {channel="miio:basic:fan:move"} note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Smartmi Inverter Pedestal Fan" Switch power "Power" (G_fan) {channel="miio:basic:fan:power"} Switch angleEnable "Rotation" (G_fan) {channel="miio:basic:fan:angleEnable"} @@ -8903,7 +8903,7 @@ String move "Move Direction" (G_fan) {channel="miio:basic:fan:move"} note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Smartmi Standing Fan 2" Switch power "Power" (G_fan) {channel="miio:basic:fan:power"} Switch angleEnable "Rotation" (G_fan) {channel="miio:basic:fan:angleEnable"} @@ -8923,7 +8923,7 @@ String move "Move Direction" (G_fan) {channel="miio:basic:fan:move"} note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Smartmi Standing Fan 2S" Switch power "Power" (G_fan) {channel="miio:basic:fan:power"} Switch angleEnable "Rotation" (G_fan) {channel="miio:basic:fan:angleEnable"} @@ -8943,7 +8943,7 @@ String move "Move Direction" (G_fan) {channel="miio:basic:fan:move"} note: Autogenerated example. Replace the id (heater) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_heater "Smartmi Radiant Heater Smart Version" Switch power "Power" (G_heater) {channel="miio:basic:heater:power"} Number:Temperature target_temperature "Target Temperature" (G_heater) {channel="miio:basic:heater:target_temperature"} @@ -8960,7 +8960,7 @@ Number:Time usedhours "Run Time" (G_heater) {channel="miio:basic:heater:usedhour note: Autogenerated example. Replace the id (heater) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_heater "Smartmi Smart Convector Heater 1S" Number fault "Heater - Device Fault" (G_heater) {channel="miio:basic:heater:fault"} Switch on "Heater - Power" (G_heater) {channel="miio:basic:heater:on"} @@ -8978,7 +8978,7 @@ Number:Time use_time "Private-Service - Use Time" (G_heater) {channel="miio:basi note: Autogenerated example. Replace the id (heater) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_heater "Smartmi Smart Convector Heater 1S" Number fault "Heater - Device Fault" (G_heater) {channel="miio:basic:heater:fault"} Switch on "Heater - Power" (G_heater) {channel="miio:basic:heater:on"} @@ -8997,7 +8997,7 @@ Number country_code "Private-Service - Country-Code" (G_heater) {channel="miio:b note: Autogenerated example. Replace the id (humidifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_humidifier "Smartmi Evaporative Humidifier" Switch power "Power" (G_humidifier) {channel="miio:basic:humidifier:power"} String mode "Mode" (G_humidifier) {channel="miio:basic:humidifier:mode"} @@ -9019,7 +9019,7 @@ Switch childlock "Child Lock" (G_humidifier) {channel="miio:basic:humidifier:chi note: Autogenerated example. Replace the id (humidifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_humidifier "Smartmi Evaporative Humidifer 2" Switch power "Power" (G_humidifier) {channel="miio:basic:humidifier:power"} Number mode "Mode" (G_humidifier) {channel="miio:basic:humidifier:mode"} @@ -9045,7 +9045,7 @@ Number countryCode "Country Code" (G_humidifier) {channel="miio:basic:humidifier note: Autogenerated example. Replace the id (humidifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_humidifier "Smartmi Evaporative Humidifier" Switch power "Power" (G_humidifier) {channel="miio:basic:humidifier:power"} String humidifierMode "Humidifier Mode" (G_humidifier) {channel="miio:basic:humidifier:humidifierMode"} @@ -9065,7 +9065,7 @@ Switch childlock "Child Lock" (G_humidifier) {channel="miio:basic:humidifier:chi note: Autogenerated example. Replace the id (humidifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_humidifier "Smartmi Evaporative Humidifier" Switch power "Power" (G_humidifier) {channel="miio:basic:humidifier:power"} String humidifierMode "Humidifier Mode" (G_humidifier) {channel="miio:basic:humidifier:humidifierMode"} @@ -9085,7 +9085,7 @@ Switch childlock "Child Lock" (G_humidifier) {channel="miio:basic:humidifier:chi note: Autogenerated example. Replace the id (humidifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_humidifier "Smartmi Humidifier" Switch power "Power" (G_humidifier) {channel="miio:basic:humidifier:power"} String mode "Mode" (G_humidifier) {channel="miio:basic:humidifier:mode"} @@ -9107,7 +9107,7 @@ Switch childlock "Child Lock" (G_humidifier) {channel="miio:basic:humidifier:chi note: Autogenerated example. Replace the id (powerstrip) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_powerstrip "Mi Smart Power Strip" Switch power "Power" (G_powerstrip) {channel="miio:basic:powerstrip:power"} Number powerUsage "Power Consumption" (G_powerstrip) {channel="miio:basic:powerstrip:powerUsage"} diff --git a/bundles/org.openhab.binding.miio/src/test/java/org/openhab/binding/miio/internal/ReadmeHelper.java b/bundles/org.openhab.binding.miio/src/test/java/org/openhab/binding/miio/internal/ReadmeHelper.java index 8506ece83c1ec..0d20357c18f25 100644 --- a/bundles/org.openhab.binding.miio/src/test/java/org/openhab/binding/miio/internal/ReadmeHelper.java +++ b/bundles/org.openhab.binding.miio/src/test/java/org/openhab/binding/miio/internal/ReadmeHelper.java @@ -196,7 +196,7 @@ private StringWriter itemFileExamples() { String gr = "G_" + id; sw.write("note: Autogenerated example. Replace the id (" + id + ") in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.\n"); - sw.write("\n```java\n"); + sw.write("\n```\n"); sw.write("Group " + gr + " \"" + device.getDescription() + "\" \n"); for (MiIoBasicChannel ch : dev.getDevice().getChannels()) {