From c39996d232ed819572816f2a8e9ba44f4202278c Mon Sep 17 00:00:00 2001 From: lutz108 <47532211+lutz108@users.noreply.github.com> Date: Fri, 23 Feb 2024 17:59:35 +0100 Subject: [PATCH 1/6] Update README.md added missing target_humidity:disabled parameter to overview table --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f78ec61..e73a52f 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,7 @@ v3 is only compatible from version 2022.11 onwards | target_humidity: `icon:style` | function | optional | v2.0.1 | function to get icon styles | target_humidity: `hide` | boolean | optional | v1.0.1 | Hide target_humidity control, default value `False` | target_humidity: `hide_indicator` | boolean | optional | v2.2.1 | Hide indicator, default value `False` +| target_humidity: `disabled` | boolean | optional | v2.1.1 | disable target_humidity slider, default value `True` when no [model](#adding-the-default-configuration-for-the-new-model) is specified | target_humidity: `unit` | string | optional | v1.0.1 | display unit, default `%` | target_humidity: `min` | number | optional | v1.0.1 | minimum target humidity, default value `30` | target_humidity: `max` | number | optional | v1.0.1 | maximum target humidity, default value `80` From e23cd4a2e85e7114cb8f8caa4351d0fd04b8ed46 Mon Sep 17 00:00:00 2001 From: lutz108 <47532211+lutz108@users.noreply.github.com> Date: Fri, 23 Feb 2024 18:06:13 +0100 Subject: [PATCH 2/6] Update README.md changed order to be one after hide, as it seems logical. Changed since version to v2.5.3 based on this commit https://github.com/artem-sedykh/mini-humidifier/commit/75be49b8d8411c108897ae640062e649a3489b16 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e73a52f..ff7790e 100644 --- a/README.md +++ b/README.md @@ -106,8 +106,8 @@ v3 is only compatible from version 2022.11 onwards | target_humidity: `icon:template` | function | optional | v2.0.1 | icon retrieval function | target_humidity: `icon:style` | function | optional | v2.0.1 | function to get icon styles | target_humidity: `hide` | boolean | optional | v1.0.1 | Hide target_humidity control, default value `False` +| target_humidity: `disabled` | boolean | optional | v2.5.3 | disable target_humidity slider, default value `True` when no [model](#adding-the-default-configuration-for-the-new-model) is specified | target_humidity: `hide_indicator` | boolean | optional | v2.2.1 | Hide indicator, default value `False` -| target_humidity: `disabled` | boolean | optional | v2.1.1 | disable target_humidity slider, default value `True` when no [model](#adding-the-default-configuration-for-the-new-model) is specified | target_humidity: `unit` | string | optional | v1.0.1 | display unit, default `%` | target_humidity: `min` | number | optional | v1.0.1 | minimum target humidity, default value `30` | target_humidity: `max` | number | optional | v1.0.1 | maximum target humidity, default value `80` From 16bbac611b215d10fbd4db38060de116774a5f8c Mon Sep 17 00:00:00 2001 From: lutz108 <47532211+lutz108@users.noreply.github.com> Date: Wed, 10 Apr 2024 12:02:48 +0200 Subject: [PATCH 3/6] Update README.md update target_humidity:disabled info in parameter table --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ff7790e..2d5a082 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ v3 is only compatible from version 2022.11 onwards | target_humidity: `icon:template` | function | optional | v2.0.1 | icon retrieval function | target_humidity: `icon:style` | function | optional | v2.0.1 | function to get icon styles | target_humidity: `hide` | boolean | optional | v1.0.1 | Hide target_humidity control, default value `False` -| target_humidity: `disabled` | boolean | optional | v2.5.3 | disable target_humidity slider, default value `True` when no [model](#adding-the-default-configuration-for-the-new-model) is specified +| target_humidity: `disabled` | boolean | optional | v2.5.3 | disable target_humidity slider, default value taken from the defined [model](#adding-the-default-configuration-for-the-new-model) and if not set, from the default [model](https://github.com/artem-sedykh/mini-humidifier/blob/master/src/configurations/xiaomi_miio/zhimi_humidifier_cb1.js#L28) | target_humidity: `hide_indicator` | boolean | optional | v2.2.1 | Hide indicator, default value `False` | target_humidity: `unit` | string | optional | v1.0.1 | display unit, default `%` | target_humidity: `min` | number | optional | v1.0.1 | minimum target humidity, default value `30` From 5ac7f449074824d7812a8ce131945ec7f26333e2 Mon Sep 17 00:00:00 2001 From: lutz108 <47532211+lutz108@users.noreply.github.com> Date: Wed, 10 Apr 2024 12:13:55 +0200 Subject: [PATCH 4/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2d5a082..e0a9720 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ v3 is only compatible from version 2022.11 onwards | target_humidity: `icon` | object | optional | v2.0.1 | icon config | target_humidity: `icon:template` | function | optional | v2.0.1 | icon retrieval function | target_humidity: `icon:style` | function | optional | v2.0.1 | function to get icon styles -| target_humidity: `hide` | boolean | optional | v1.0.1 | Hide target_humidity control, default value `False` +| target_humidity: `hide` | boolean, function | optional | v1.0.1 | Hide target_humidity control, default value `False` | target_humidity: `disabled` | boolean | optional | v2.5.3 | disable target_humidity slider, default value taken from the defined [model](#adding-the-default-configuration-for-the-new-model) and if not set, from the default [model](https://github.com/artem-sedykh/mini-humidifier/blob/master/src/configurations/xiaomi_miio/zhimi_humidifier_cb1.js#L28) | target_humidity: `hide_indicator` | boolean | optional | v2.2.1 | Hide indicator, default value `False` | target_humidity: `unit` | string | optional | v1.0.1 | display unit, default `%` From cd5dbcc9493fed4a7ef99afa0dbbc8da8c4b7af5 Mon Sep 17 00:00:00 2001 From: lutz108 <47532211+lutz108@users.noreply.github.com> Date: Wed, 10 Apr 2024 12:16:29 +0200 Subject: [PATCH 5/6] Update README.md added function to target_humidity:disabled --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e0a9720..adff24d 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ v3 is only compatible from version 2022.11 onwards | target_humidity: `icon:template` | function | optional | v2.0.1 | icon retrieval function | target_humidity: `icon:style` | function | optional | v2.0.1 | function to get icon styles | target_humidity: `hide` | boolean, function | optional | v1.0.1 | Hide target_humidity control, default value `False` -| target_humidity: `disabled` | boolean | optional | v2.5.3 | disable target_humidity slider, default value taken from the defined [model](#adding-the-default-configuration-for-the-new-model) and if not set, from the default [model](https://github.com/artem-sedykh/mini-humidifier/blob/master/src/configurations/xiaomi_miio/zhimi_humidifier_cb1.js#L28) +| target_humidity: `disabled` | boolean, function | optional | v2.5.3 | disable target_humidity slider, default value taken from the defined [model](#adding-the-default-configuration-for-the-new-model) and if not set, from the default [model](https://github.com/artem-sedykh/mini-humidifier/blob/master/src/configurations/xiaomi_miio/zhimi_humidifier_cb1.js#L28) | target_humidity: `hide_indicator` | boolean | optional | v2.2.1 | Hide indicator, default value `False` | target_humidity: `unit` | string | optional | v1.0.1 | display unit, default `%` | target_humidity: `min` | number | optional | v1.0.1 | minimum target humidity, default value `30` From 5e57e42c0281626afeb439f13bef18dd00eefb05 Mon Sep 17 00:00:00 2001 From: lutz108 <47532211+lutz108@users.noreply.github.com> Date: Wed, 10 Apr 2024 12:17:08 +0200 Subject: [PATCH 6/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index adff24d..8d2e8e8 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ v3 is only compatible from version 2022.11 onwards | target_humidity: `icon` | object | optional | v2.0.1 | icon config | target_humidity: `icon:template` | function | optional | v2.0.1 | icon retrieval function | target_humidity: `icon:style` | function | optional | v2.0.1 | function to get icon styles -| target_humidity: `hide` | boolean, function | optional | v1.0.1 | Hide target_humidity control, default value `False` +| target_humidity: `hide` | boolean | optional | v1.0.1 | Hide target_humidity control, default value `False` | target_humidity: `disabled` | boolean, function | optional | v2.5.3 | disable target_humidity slider, default value taken from the defined [model](#adding-the-default-configuration-for-the-new-model) and if not set, from the default [model](https://github.com/artem-sedykh/mini-humidifier/blob/master/src/configurations/xiaomi_miio/zhimi_humidifier_cb1.js#L28) | target_humidity: `hide_indicator` | boolean | optional | v2.2.1 | Hide indicator, default value `False` | target_humidity: `unit` | string | optional | v1.0.1 | display unit, default `%`