diff --git a/bundles/org.openhab.binding.miio/README.md b/bundles/org.openhab.binding.miio/README.md index 8b72855a1..ec5785a83 100644 --- a/bundles/org.openhab.binding.miio/README.md +++ b/bundles/org.openhab.binding.miio/README.md @@ -2649,10 +2649,9 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | -| colorMode | String | Color Mode | | -| toggle | Switch | toggle | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | +| colorMode | Number | Color Mode | | | rgbColor | Color | RGB Color | | | name | String | Name | | @@ -2662,10 +2661,9 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | -| colorMode | String | Color Mode | | -| toggle | Switch | toggle | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | +| colorMode | Number | Color Mode | | | rgbColor | Color | RGB Color | | | name | String | Name | | @@ -2675,10 +2673,9 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | -| colorMode | String | Color Mode | | -| toggle | Switch | toggle | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | +| colorMode | Number | Color Mode | | | rgbColor | Color | RGB Color | | | name | String | Name | | @@ -2689,7 +2686,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena | power | Switch | Power | | | bh_mode | String | Bath Heater mode | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | +| delayoff | Number:Time | Shutdown Timer | | | temperature | Number:Temperature | Temperature | | | nightlightBrightness | Number | Nightlight Brightness | | @@ -2700,7 +2697,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena | power | Switch | Power | | | bh_mode | String | Bath Heater mode | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | +| delayoff | Number:Time | Shutdown Timer | | | temperature | Number:Temperature | Temperature | | | nightlightBrightness | Number | Nightlight Brightness | | @@ -2710,8 +2707,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -2723,8 +2720,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -2736,8 +2733,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -2750,8 +2747,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena | power | Switch | Power | | | brightness | Dimmer | Brightness | | | ambientBrightness | Number | Ambient Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | ambientPower | Switch | Ambient Power | | @@ -2767,8 +2764,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -2780,8 +2777,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -2793,8 +2790,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -2806,8 +2803,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -2819,8 +2816,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -2832,8 +2829,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -2846,8 +2843,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena | power | Switch | Power | | | brightness | Dimmer | Brightness | | | ambientBrightness | Number | Ambient Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | ambientPower | Switch | Ambient Power | | @@ -2863,8 +2860,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -2876,8 +2873,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -2889,8 +2886,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -2902,8 +2899,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -2915,8 +2912,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -2928,8 +2925,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -2941,8 +2938,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -2954,8 +2951,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -2967,8 +2964,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -2980,8 +2977,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -2993,8 +2990,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -3006,8 +3003,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -3019,8 +3016,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -3032,8 +3029,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -3045,8 +3042,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -3058,8 +3055,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -3071,8 +3068,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | @@ -3082,8 +3079,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | @@ -3093,8 +3090,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | @@ -3104,8 +3101,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | @@ -3115,8 +3112,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | @@ -3126,8 +3123,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | @@ -3137,8 +3134,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | @@ -3148,8 +3145,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | @@ -3159,8 +3156,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | @@ -3170,8 +3167,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | @@ -3181,8 +3178,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | @@ -3192,8 +3189,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | @@ -3203,8 +3200,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -3216,10 +3213,9 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | -| colorMode | String | Color Mode | | -| toggle | Switch | toggle | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | +| colorMode | Number | Color Mode | | | rgbColor | Color | RGB Color | | | name | String | Name | | @@ -3229,10 +3225,9 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | -| colorMode | String | Color Mode | | -| toggle | Switch | toggle | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | +| colorMode | Number | Color Mode | | | rgbColor | Color | RGB Color | | | name | String | Name | | @@ -3242,8 +3237,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | @@ -3253,8 +3248,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | @@ -3264,10 +3259,9 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | -| colorMode | String | Color Mode | | -| toggle | Switch | toggle | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | +| colorMode | Number | Color Mode | | | rgbColor | Color | RGB Color | | | name | String | Name | | @@ -3277,10 +3271,9 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | -| colorMode | String | Color Mode | | -| toggle | Switch | toggle | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | +| colorMode | Number | Color Mode | | | rgbColor | Color | RGB Color | | | name | String | Name | | @@ -3290,10 +3283,9 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | -| colorMode | String | Color Mode | | -| toggle | Switch | toggle | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | +| colorMode | Number | Color Mode | | | rgbColor | Color | RGB Color | | | name | String | Name | | @@ -3303,10 +3295,9 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | -| colorMode | String | Color Mode | | -| toggle | Switch | toggle | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | +| colorMode | Number | Color Mode | | | rgbColor | Color | RGB Color | | | name | String | Name | | @@ -3330,8 +3321,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -3343,8 +3334,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -3356,8 +3347,8 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| delayoff | Number | Shutdown Timer | | -| colorTemperature | Number | Color Temperature | | +| delayoff | Number:Time | Shutdown Timer | | +| colorTemperature | Number:Temperature | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | | customScene | String | Set Scene | | @@ -6088,10 +6079,9 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} -String colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} -Switch toggle "toggle" (G_light) {channel="miio:basic:light:toggle"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} Color rgbColor "RGB Color" (G_light) {channel="miio:basic:light:rgbColor"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6104,10 +6094,9 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} -String colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} -Switch toggle "toggle" (G_light) {channel="miio:basic:light:toggle"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} Color rgbColor "RGB Color" (G_light) {channel="miio:basic:light:rgbColor"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6120,10 +6109,9 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} -String colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} -Switch toggle "toggle" (G_light) {channel="miio:basic:light:toggle"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} Color rgbColor "RGB Color" (G_light) {channel="miio:basic:light:rgbColor"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6137,7 +6125,7 @@ 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"} Dimmer brightness "Brightness" (G_bhf_light) {channel="miio:basic:bhf_light:brightness"} -Number delayoff "Shutdown Timer" (G_bhf_light) {channel="miio:basic:bhf_light:delayoff"} +Number:Time delayoff "Shutdown Timer" (G_bhf_light) {channel="miio:basic:bhf_light:delayoff"} Number:Temperature temperature "Temperature" (G_bhf_light) {channel="miio:basic:bhf_light:temperature"} Number nightlightBrightness "Nightlight Brightness" (G_bhf_light) {channel="miio:basic:bhf_light:nightlightBrightness"} ``` @@ -6151,7 +6139,7 @@ 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"} Dimmer brightness "Brightness" (G_bhf_light) {channel="miio:basic:bhf_light:brightness"} -Number delayoff "Shutdown Timer" (G_bhf_light) {channel="miio:basic:bhf_light:delayoff"} +Number:Time delayoff "Shutdown Timer" (G_bhf_light) {channel="miio:basic:bhf_light:delayoff"} Number:Temperature temperature "Temperature" (G_bhf_light) {channel="miio:basic:bhf_light:temperature"} Number nightlightBrightness "Nightlight Brightness" (G_bhf_light) {channel="miio:basic:bhf_light:nightlightBrightness"} ``` @@ -6164,8 +6152,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6180,8 +6168,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6196,8 +6184,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6213,8 +6201,8 @@ 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"} Number ambientBrightness "Ambient Brightness" (G_light) {channel="miio:basic:light:ambientBrightness"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} Switch ambientPower "Ambient Power" (G_light) {channel="miio:basic:light:ambientPower"} @@ -6233,8 +6221,8 @@ note: Autogenerated example. Replace the id (ceiling4) in the channel with your 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"} -Number delayoff "Shutdown Timer" (G_ceiling4) {channel="miio:basic:ceiling4:delayoff"} -Number colorTemperature "Color Temperature" (G_ceiling4) {channel="miio:basic:ceiling4:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_ceiling4) {channel="miio:basic:ceiling4:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_ceiling4) {channel="miio:basic:ceiling4:colorTemperature"} Number colorMode "Color Mode" (G_ceiling4) {channel="miio:basic:ceiling4:colorMode"} String name "Name" (G_ceiling4) {channel="miio:basic:ceiling4:name"} String customScene "Set Scene" (G_ceiling4) {channel="miio:basic:ceiling4:customScene"} @@ -6249,8 +6237,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6265,8 +6253,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6281,8 +6269,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6297,8 +6285,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6313,8 +6301,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6330,8 +6318,8 @@ 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"} Number ambientBrightness "Ambient Brightness" (G_light) {channel="miio:basic:light:ambientBrightness"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} Switch ambientPower "Ambient Power" (G_light) {channel="miio:basic:light:ambientPower"} @@ -6350,8 +6338,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6366,8 +6354,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6382,8 +6370,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6398,8 +6386,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6414,8 +6402,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6430,8 +6418,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6446,8 +6434,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6462,8 +6450,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6478,8 +6466,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6494,8 +6482,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6510,8 +6498,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6526,8 +6514,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6542,8 +6530,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6558,8 +6546,8 @@ note: Autogenerated example. Replace the id (ceiling10) in the channel with your 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"} -Number delayoff "Shutdown Timer" (G_ceiling10) {channel="miio:basic:ceiling10:delayoff"} -Number colorTemperature "Color Temperature" (G_ceiling10) {channel="miio:basic:ceiling10:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_ceiling10) {channel="miio:basic:ceiling10:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_ceiling10) {channel="miio:basic:ceiling10:colorTemperature"} Number colorMode "Color Mode" (G_ceiling10) {channel="miio:basic:ceiling10:colorMode"} String name "Name" (G_ceiling10) {channel="miio:basic:ceiling10:name"} String customScene "Set Scene" (G_ceiling10) {channel="miio:basic:ceiling10:customScene"} @@ -6574,8 +6562,8 @@ note: Autogenerated example. Replace the id (ceiling19) in the channel with your 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"} -Number delayoff "Shutdown Timer" (G_ceiling19) {channel="miio:basic:ceiling19:delayoff"} -Number colorTemperature "Color Temperature" (G_ceiling19) {channel="miio:basic:ceiling19:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_ceiling19) {channel="miio:basic:ceiling19:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_ceiling19) {channel="miio:basic:ceiling19:colorTemperature"} Number colorMode "Color Mode" (G_ceiling19) {channel="miio:basic:ceiling19:colorMode"} String name "Name" (G_ceiling19) {channel="miio:basic:ceiling19:name"} String customScene "Set Scene" (G_ceiling19) {channel="miio:basic:ceiling19:customScene"} @@ -6590,8 +6578,8 @@ note: Autogenerated example. Replace the id (ceiling20) in the channel with your 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"} -Number delayoff "Shutdown Timer" (G_ceiling20) {channel="miio:basic:ceiling20:delayoff"} -Number colorTemperature "Color Temperature" (G_ceiling20) {channel="miio:basic:ceiling20:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_ceiling20) {channel="miio:basic:ceiling20:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_ceiling20) {channel="miio:basic:ceiling20:colorTemperature"} Number colorMode "Color Mode" (G_ceiling20) {channel="miio:basic:ceiling20:colorMode"} String name "Name" (G_ceiling20) {channel="miio:basic:ceiling20:name"} String customScene "Set Scene" (G_ceiling20) {channel="miio:basic:ceiling20:customScene"} @@ -6606,8 +6594,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6620,8 +6608,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6634,8 +6622,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6648,8 +6636,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6662,8 +6650,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6676,8 +6664,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6690,8 +6678,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6704,8 +6692,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6718,8 +6706,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6732,8 +6720,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6746,8 +6734,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6760,8 +6748,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6774,8 +6762,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6790,10 +6778,9 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} -String colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} -Switch toggle "toggle" (G_light) {channel="miio:basic:light:toggle"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} Color rgbColor "RGB Color" (G_light) {channel="miio:basic:light:rgbColor"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6806,10 +6793,9 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} -String colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} -Switch toggle "toggle" (G_light) {channel="miio:basic:light:toggle"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} Color rgbColor "RGB Color" (G_light) {channel="miio:basic:light:rgbColor"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6822,8 +6808,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6836,8 +6822,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6850,10 +6836,9 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} -String colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} -Switch toggle "toggle" (G_light) {channel="miio:basic:light:toggle"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} Color rgbColor "RGB Color" (G_light) {channel="miio:basic:light:rgbColor"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6866,10 +6851,9 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} -String colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} -Switch toggle "toggle" (G_light) {channel="miio:basic:light:toggle"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} Color rgbColor "RGB Color" (G_light) {channel="miio:basic:light:rgbColor"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6882,10 +6866,9 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} -String colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} -Switch toggle "toggle" (G_light) {channel="miio:basic:light:toggle"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} Color rgbColor "RGB Color" (G_light) {channel="miio:basic:light:rgbColor"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6898,10 +6881,9 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} -String colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} -Switch toggle "toggle" (G_light) {channel="miio:basic:light:toggle"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} Color rgbColor "RGB Color" (G_light) {channel="miio:basic:light:rgbColor"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` @@ -6931,8 +6913,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6947,8 +6929,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} @@ -6963,8 +6945,8 @@ note: Autogenerated example. Replace the id (light) in the channel with your own 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"} -Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} -Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number:Time delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number:Temperature colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.mc1808-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.mc1808-miot.json index 6340897b1..e3747ab41 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.mc1808-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.mc1808-miot.json @@ -132,8 +132,8 @@ "piid": 1, "friendlyName": "Battery-Battery Level", "channel": "BatteryLevel", - "type": "Number", "channelType": "system:battery-level", + "type": "Number", "refresh": true, "actions": [] }, diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.p2008-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.p2008-miot.json index 59a7e8a57..957e99edb 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.p2008-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.p2008-miot.json @@ -72,8 +72,8 @@ "piid": 1, "friendlyName": "Battery - Battery Level", "channel": "battery-level", - "type": "Number", "channelType": "system:battery-level", + "type": "Number", "stateDescription": { "pattern": "%.0f %%", "readOnly": true diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.bhf1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.bhf1.json index 69b5b0896..28dc24387 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.bhf1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.bhf1.json @@ -9,15 +9,17 @@ "property": "power", "friendlyName": "Power", "channel": "power", - "channelType": "power", "type": "Switch", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -38,10 +40,8 @@ "property": "bright", "friendlyName": "Brightness", "channel": "brightness", - "channelType": "brightness", "type": "Dimmer", "refresh": true, - "ChannelGroup": "actions", "actions": [ { "command": "set_bright", @@ -57,16 +57,20 @@ "name": "BrightnessOnOff" } } + ], + "category": "light", + "tags": [ + "Setpoint", + "Light" ] }, { "property": "delayoff", "friendlyName": "Shutdown Timer", "channel": "delayoff", - "channelType": "delayoff", - "type": "Number", + "type": "Number:Time", + "unit": "seconds", "refresh": true, - "ChannelGroup": "actions", "actions": [ { "command": "cron_add", @@ -76,17 +80,20 @@ "$value$" ] } + ], + "category": "time", + "tags": [ + "Setpoint", + "Duration" ] }, { "property": "temperature", "friendlyName": "Temperature", "channel": "temperature", - "channelType": "temperatureC", "type": "Number:Temperature", "unit": "CELCIUS", "refresh": true, - "ChannelGroup": "", "actions": [], "category": "temperature", "tags": [ @@ -101,8 +108,12 @@ "channelType": "nightlightBrightness", "type": "Number", "refresh": true, - "ChannelGroup": "", - "actions": [] + "actions": [], + "category": "light", + "tags": [ + "Setpoint", + "Light" + ] } ] } diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling.json b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling.json index bb4cffb79..055e34cb8 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling.json @@ -34,25 +34,25 @@ "property": "power", "friendlyName": "Power", "channel": "power", - "channelType": "power", "type": "Switch", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { "property": "bright", "friendlyName": "Brightness", "channel": "brightness", - "channelType": "brightness", "type": "Dimmer", "refresh": true, - "ChannelGroup": "actions", "actions": [ { "command": "set_bright", @@ -68,16 +68,20 @@ "name": "BrightnessOnOff" } } + ], + "category": "light", + "tags": [ + "Setpoint", + "Light" ] }, { "property": "delayoff", "friendlyName": "Shutdown Timer", "channel": "delayoff", - "channelType": "delayoff", - "type": "Number", + "type": "Number:Time", + "unit": "seconds", "refresh": true, - "ChannelGroup": "actions", "actions": [ { "command": "cron_add", @@ -87,16 +91,26 @@ "$value$" ] } + ], + "category": "time", + "tags": [ + "Setpoint", + "Duration" ] }, { "property": "ct", "friendlyName": "Color Temperature", "channel": "colorTemperature", - "channelType": "colorTemperature", - "type": "Number", + "type": "Number:Temperature", + "unit": "kelvin", + "stateDescription": { + "minimum": 2700, + "maximum": 6500, + "step": 1, + "pattern": "%.0f %unit%" + }, "refresh": true, - "ChannelGroup": "actions", "actions": [ { "command": "set_ct_abx", @@ -107,14 +121,49 @@ 500 ] } + ], + "category": "colorlight", + "tags": [ + "Setpoint", + "Temperature" ] }, { "property": "color_mode", "friendlyName": "Color Mode", "channel": "colorMode", - "channelType": "colorMode", "type": "Number", + "stateDescription": { + "minimum": 0, + "maximum": 5, + "step": 1, + "options": [ + { + "value": "0", + "label": "Default" + }, + { + "value": "1", + "label": "CT mode" + }, + { + "value": "2", + "label": "RGB mode" + }, + { + "value": "3", + "label": "HSV mode" + }, + { + "value": "4", + "label": "Color Flow mode" + }, + { + "value": "5", + "label": "Night Light mode" + } + ] + }, "refresh": true, "ChannelGroup": "", "actions": [] @@ -131,7 +180,8 @@ "command": "set_name", "parameterType": "STRING" } - ] + ], + "category": "text" }, { "property": "", @@ -155,8 +205,12 @@ "channelType": "nightlightBrightness", "type": "Number", "refresh": true, - "ChannelGroup": "", - "actions": [] + "actions": [], + "category": "light", + "tags": [ + "Setpoint", + "Light" + ] } ] } diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling2.json b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling2.json index 919c3de8d..77aeea7b4 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling2.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling2.json @@ -9,25 +9,25 @@ "property": "power", "friendlyName": "Power", "channel": "power", - "channelType": "power", "type": "Switch", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { "property": "bright", "friendlyName": "Brightness", "channel": "brightness", - "channelType": "brightness", "type": "Dimmer", "refresh": true, - "ChannelGroup": "actions", "actions": [ { "command": "set_bright", @@ -43,16 +43,20 @@ "name": "BrightnessOnOff" } } + ], + "category": "light", + "tags": [ + "Setpoint", + "Light" ] }, { "property": "delayoff", "friendlyName": "Shutdown Timer", "channel": "delayoff", - "channelType": "delayoff", - "type": "Number", + "type": "Number:Time", + "unit": "seconds", "refresh": true, - "ChannelGroup": "actions", "actions": [ { "command": "cron_add", @@ -62,16 +66,26 @@ "$value$" ] } + ], + "category": "time", + "tags": [ + "Setpoint", + "Duration" ] }, { "property": "ct", "friendlyName": "Color Temperature", "channel": "colorTemperature", - "channelType": "colorTemperature", - "type": "Number", + "type": "Number:Temperature", + "unit": "kelvin", + "stateDescription": { + "minimum": 2700, + "maximum": 6500, + "step": 1, + "pattern": "%.0f %unit%" + }, "refresh": true, - "ChannelGroup": "actions", "actions": [ { "command": "set_ct_abx", @@ -82,14 +96,49 @@ 500 ] } + ], + "category": "colorlight", + "tags": [ + "Setpoint", + "Temperature" ] }, { "property": "color_mode", "friendlyName": "Color Mode", "channel": "colorMode", - "channelType": "colorMode", "type": "Number", + "stateDescription": { + "minimum": 0, + "maximum": 5, + "step": 1, + "options": [ + { + "value": "0", + "label": "Default" + }, + { + "value": "1", + "label": "CT mode" + }, + { + "value": "2", + "label": "RGB mode" + }, + { + "value": "3", + "label": "HSV mode" + }, + { + "value": "4", + "label": "Color Flow mode" + }, + { + "value": "5", + "label": "Night Light mode" + } + ] + }, "refresh": true, "ChannelGroup": "", "actions": [] @@ -106,7 +155,8 @@ "command": "set_name", "parameterType": "STRING" } - ] + ], + "category": "text" }, { "property": "", @@ -130,8 +180,12 @@ "channelType": "nightlightBrightness", "type": "Number", "refresh": true, - "ChannelGroup": "", - "actions": [] + "actions": [], + "category": "light", + "tags": [ + "Setpoint", + "Light" + ] } ] } diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling4.json b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling4.json index 6fdec440e..933bf65db 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling4.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling4.json @@ -10,25 +10,25 @@ "property": "power", "friendlyName": "Power", "channel": "power", - "channelType": "power", "type": "Switch", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { "property": "bright", "friendlyName": "Brightness", "channel": "brightness", - "channelType": "brightness", "type": "Dimmer", "refresh": true, - "ChannelGroup": "actions", "actions": [ { "command": "set_bright", @@ -44,6 +44,11 @@ "name": "BrightnessOnOff" } } + ], + "category": "light", + "tags": [ + "Setpoint", + "Light" ] }, { @@ -65,10 +70,9 @@ "property": "delayoff", "friendlyName": "Shutdown Timer", "channel": "delayoff", - "channelType": "delayoff", - "type": "Number", + "type": "Number:Time", + "unit": "seconds", "refresh": true, - "ChannelGroup": "actions", "actions": [ { "command": "cron_add", @@ -78,16 +82,26 @@ "$value$" ] } + ], + "category": "time", + "tags": [ + "Setpoint", + "Duration" ] }, { "property": "ct", "friendlyName": "Color Temperature", "channel": "colorTemperature", - "channelType": "colorTemperature", - "type": "Number", + "type": "Number:Temperature", + "unit": "kelvin", + "stateDescription": { + "minimum": 2700, + "maximum": 6500, + "step": 1, + "pattern": "%.0f %unit%" + }, "refresh": true, - "ChannelGroup": "actions", "actions": [ { "command": "set_ct_abx", @@ -98,14 +112,49 @@ 500 ] } + ], + "category": "colorlight", + "tags": [ + "Setpoint", + "Temperature" ] }, { "property": "color_mode", "friendlyName": "Color Mode", "channel": "colorMode", - "channelType": "colorMode", "type": "Number", + "stateDescription": { + "minimum": 0, + "maximum": 5, + "step": 1, + "options": [ + { + "value": "0", + "label": "Default" + }, + { + "value": "1", + "label": "CT mode" + }, + { + "value": "2", + "label": "RGB mode" + }, + { + "value": "3", + "label": "HSV mode" + }, + { + "value": "4", + "label": "Color Flow mode" + }, + { + "value": "5", + "label": "Night Light mode" + } + ] + }, "refresh": true, "ChannelGroup": "", "actions": [] @@ -122,7 +171,8 @@ "command": "set_name", "parameterType": "STRING" } - ] + ], + "category": "text" }, { "property": "bg_power", @@ -196,7 +246,6 @@ "channelType": "ambientColorMode", "type": "Number", "refresh": true, - "ChannelGroup": "", "actions": [] }, { @@ -206,8 +255,12 @@ "channelType": "nightlightBrightness", "type": "Number", "refresh": true, - "ChannelGroup": "", - "actions": [] + "actions": [], + "category": "light", + "tags": [ + "Setpoint", + "Light" + ] } ] } diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.color1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.color1.json index 07419e2e4..62343ce8b 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.color1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.color1.json @@ -17,25 +17,25 @@ "property": "power", "friendlyName": "Power", "channel": "power", - "channelType": "power", "type": "Switch", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { "property": "bright", "friendlyName": "Brightness", "channel": "brightness", - "channelType": "brightness", "type": "Dimmer", "refresh": true, - "ChannelGroup": "actions", "actions": [ { "command": "set_bright", @@ -51,16 +51,20 @@ "name": "BrightnessOnOff" } } + ], + "category": "light", + "tags": [ + "Setpoint", + "Light" ] }, { "property": "delayoff", "friendlyName": "Shutdown Timer", "channel": "delayoff", - "channelType": "delayoff", - "type": "Number", + "type": "Number:Time", + "unit": "seconds", "refresh": true, - "ChannelGroup": "actions", "actions": [ { "command": "cron_add", @@ -70,16 +74,26 @@ "$value$" ] } + ], + "category": "time", + "tags": [ + "Setpoint", + "Duration" ] }, { "property": "ct", "friendlyName": "Color Temperature", "channel": "colorTemperature", - "channelType": "colorTemperature", - "type": "Number", + "type": "Number:Temperature", + "unit": "kelvin", + "stateDescription": { + "minimum": 1700, + "maximum": 6500, + "step": 1, + "pattern": "%.0f %unit%" + }, "refresh": true, - "ChannelGroup": "actions", "actions": [ { "command": "set_ct_abx", @@ -90,30 +104,66 @@ 500 ] } + ], + "category": "colorlight", + "tags": [ + "Setpoint", + "Temperature" ] }, { "property": "color_mode", "friendlyName": "Color Mode", "channel": "colorMode", - "channelType": "colorMode", - "type": "String", + "type": "Number", + "stateDescription": { + "minimum": 0, + "maximum": 5, + "step": 1, + "options": [ + { + "value": "0", + "label": "Default" + }, + { + "value": "1", + "label": "CT mode" + }, + { + "value": "2", + "label": "RGB mode" + }, + { + "value": "3", + "label": "HSV mode" + }, + { + "value": "4", + "label": "Color Flow mode" + }, + { + "value": "5", + "label": "Night Light mode" + } + ] + }, "refresh": true, - "ChannelGroup": "actions", - "actions": [] - }, - { - "property": "toggle", - "friendlyName": "toggle", - "channel": "toggle", - "type": "Switch", - "refresh": false, - "ChannelGroup": "actions", "actions": [ { - "command": "toggle", - "parameterType": "EMPTY" + "command": "set_power", + "parameterType": "NUMBER", + "parameters": [ + "on", + "smooth", + 500, + "$value$" + ] } + ], + "category": "settings", + "tags": [ + "Control", + "Light" ] }, { @@ -150,6 +200,11 @@ "name": "BrightnessOnOff" } } + ], + "category": "colorpicker", + "tags": [ + "Control", + "Light" ] }, { @@ -158,13 +213,13 @@ "channel": "name", "type": "String", "refresh": true, - "ChannelGroup": "actions", "actions": [ { "command": "set_name", "parameterType": "STRING" } - ] + ], + "category": "text" } ] } diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.lamp1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.lamp1.json index 8194e9295..20c1b4ed9 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.lamp1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.lamp1.json @@ -22,25 +22,25 @@ "property": "power", "friendlyName": "Power", "channel": "power", - "channelType": "power", "type": "Switch", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { "property": "bright", "friendlyName": "Brightness", "channel": "brightness", - "channelType": "brightness", "type": "Dimmer", "refresh": true, - "ChannelGroup": "actions", "actions": [ { "command": "set_bright", @@ -56,16 +56,20 @@ "name": "BrightnessOnOff" } } + ], + "category": "light", + "tags": [ + "Setpoint", + "Light" ] }, { "property": "delayoff", "friendlyName": "Shutdown Timer", "channel": "delayoff", - "channelType": "delayoff", - "type": "Number", + "type": "Number:Time", + "unit": "seconds", "refresh": true, - "ChannelGroup": "actions", "actions": [ { "command": "cron_add", @@ -75,16 +79,26 @@ "$value$" ] } + ], + "category": "time", + "tags": [ + "Setpoint", + "Duration" ] }, { "property": "ct", "friendlyName": "Color Temperature", "channel": "colorTemperature", - "channelType": "colorTemperature", - "type": "Number", + "type": "Number:Temperature", + "unit": "kelvin", + "stateDescription": { + "minimum": 2700, + "maximum": 6500, + "step": 1, + "pattern": "%.0f %unit%" + }, "refresh": true, - "ChannelGroup": "actions", "actions": [ { "command": "set_ct_abx", @@ -95,21 +109,66 @@ 500 ] } + ], + "category": "colorlight", + "tags": [ + "Setpoint", + "Temperature" ] }, { "property": "color_mode", "friendlyName": "Color Mode", "channel": "colorMode", - "channelType": "colorMode", "type": "Number", + "stateDescription": { + "minimum": 0, + "maximum": 5, + "step": 1, + "options": [ + { + "value": "0", + "label": "Default" + }, + { + "value": "1", + "label": "CT mode" + }, + { + "value": "2", + "label": "RGB mode" + }, + { + "value": "3", + "label": "HSV mode" + }, + { + "value": "4", + "label": "Color Flow mode" + }, + { + "value": "5", + "label": "Night Light mode" + } + ] + }, "refresh": true, - "ChannelGroup": "actions", "actions": [ { - "command": "set_scene", - "parameterType": "NUMBER" + "command": "set_power", + "parameterType": "NUMBER", + "parameters": [ + "on", + "smooth", + 500, + "$value$" + ] } + ], + "category": "settings", + "tags": [ + "Control", + "Light" ] }, { @@ -118,13 +177,13 @@ "channel": "name", "type": "String", "refresh": true, - "ChannelGroup": "actions", "actions": [ { "command": "set_name", "parameterType": "STRING" } - ] + ], + "category": "text" } ] }