Просмотр исходного кода

Duux Whisper Flex Ultimate: use translations for timer options.

- add docs
PR #2224
Jason Rumney 1 год назад
Родитель
Сommit
afb9284ed8
3 измененных файлов с 15 добавлено и 13 удалено
  1. 1 0
      ACKNOWLEDGEMENTS.md
  2. 1 0
      DEVICES.md
  3. 13 13
      custom_components/tuya_local/devices/duux_whisper_flex_ultimate_fan.yaml

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -623,3 +623,4 @@ Further device support has been made with the assistance of users. Please consid
 - [daseth](https://github.com/daseth) for contributing support for Feyree 22kW 3 phase EV charger.
 - [daseth](https://github.com/daseth) for contributing support for Feyree 22kW 3 phase EV charger.
 - [nanosonde](https://github.com/nanosonde) for contributing support for Pool Systems IPS-100MAX pool heatpump.
 - [nanosonde](https://github.com/nanosonde) for contributing support for Pool Systems IPS-100MAX pool heatpump.
 - [oyvindwe](https://github.com/oyvindwe) for contributing improvements to Nedis pet feeder.
 - [oyvindwe](https://github.com/oyvindwe) for contributing improvements to Nedis pet feeder.
+- [juliusvaart](https://github.com/juliusvaart) for contributing support for Duux Whisper Flex Ultimate fan.

+ 1 - 0
DEVICES.md

@@ -208,6 +208,7 @@
 - Deta fan controller
 - Deta fan controller
 - Djive ARC humidifying fan
 - Djive ARC humidifying fan
 - Duux Whisper Flex pedestal fan
 - Duux Whisper Flex pedestal fan
+- Duux Whisper Flex Ultimate
 - Eglo 5 speed + sleep ceiling fan
 - Eglo 5 speed + sleep ceiling fan
 - Fanco Eco Silent Deluxe ceiling fan with LED light
 - Fanco Eco Silent Deluxe ceiling fan with LED light
 - Goldair GCPF315 fan
 - Goldair GCPF315 fan

+ 13 - 13
custom_components/tuya_local/devices/duux_whisper_flex_ultimate_fan.yaml

@@ -70,28 +70,28 @@ secondary_entities:
         name: option
         name: option
         mapping:
         mapping:
           - dps_val: "0"
           - dps_val: "0"
-            value: "Off"
+            value: cancel
           - dps_val: "1"
           - dps_val: "1"
-            value: "1 hour"
+            value: "1h"
           - dps_val: "2"
           - dps_val: "2"
-            value: "2 hours"
+            value: "2h"
           - dps_val: "3"
           - dps_val: "3"
-            value: "3 hours"
+            value: "3h"
           - dps_val: "4"
           - dps_val: "4"
-            value: "4 hours"
+            value: "4h"
           - dps_val: "5"
           - dps_val: "5"
-            value: "5 hours"
+            value: "5h"
           - dps_val: "6"
           - dps_val: "6"
-            value: "6 hours"
+            value: "6h"
           - dps_val: "7"
           - dps_val: "7"
-            value: "7 hours"
+            value: "7h"
           - dps_val: "8"
           - dps_val: "8"
-            value: "8 hours"
+            value: "8h"
           - dps_val: "9"
           - dps_val: "9"
-            value: "9 hours"
+            value: "9h"
           - dps_val: "10"
           - dps_val: "10"
-            value: "10 hours"
+            value: "10h"
           - dps_val: "11"
           - dps_val: "11"
-            value: "11 hours"
+            value: "11h"
           - dps_val: "12"
           - dps_val: "12"
-            value: "12 hours"
+            value: "12h"