Przeglądaj źródła

Goldair fan: use baby rather than child for preset

For consistency with the pre-defined humidifier presets, where "baby"
is already available - likely when standard presets are added for fan
they will follow these, and we will be able to immediately benefit
from the upstream translations.
Jason Rumney 2 lat temu
rodzic
commit
f05bc30763

+ 1 - 1
custom_components/tuya_local/devices/goldair_platinum_tower_fan.yaml

@@ -20,7 +20,7 @@ primary_entity:
         - dps_val: 3
           value: sleep
         - dps_val: 4
-          value: child
+          value: baby
     - id: 3
       type: integer
       name: speed

+ 1 - 1
custom_components/tuya_local/translations/en.json

@@ -172,7 +172,7 @@
                             "normal": "Normal",
                             "nature": "Natural",
                             "sleep": "Sleep",
-                            "child": "Child",
+                            "baby": "Baby",
                             "fresh": "Fresh",
                             "smart": "Smart",
                             "strong": "Strong",