Browse Source

Label Sound type according to Tuya app.

The iot.tuya.com docs seemed to suggest that this was used together
with dp 10, so the assumption was it selects between different groups
of 34 sounds.  But the app screenshot shows only 11 sounds selecatable
within one category, so it may just be filtering the list of 34, and
therefore redundant.

Since I don't know for sure which of these, it is left in for now, and
changed to match the app naming.

Issue #1042
Jason Rumney 2 years ago
parent
commit
257d83a3a5

+ 5 - 5
custom_components/tuya_local/devices/loycco_sound_nightlight.yaml

@@ -177,7 +177,7 @@ secondary_entities:
           min: 0
           min: 0
           max: 90
           max: 90
   - entity: select
   - entity: select
-    name: Sound source
+    name: Sound type
     icon: "mdi:music-box-multiple"
     icon: "mdi:music-box-multiple"
     category: config
     category: config
     dps:
     dps:
@@ -187,13 +187,13 @@ secondary_entities:
         optional: true
         optional: true
         mapping:
         mapping:
           - dps_val: ringtone_1
           - dps_val: ringtone_1
-            value: Album 1
+            value: Nature 1
           - dps_val: ringtone_2
           - dps_val: ringtone_2
-            value: Album 2
+            value: Nature 2
           - dps_val: ringtone_3
           - dps_val: ringtone_3
-            value: Album 3
+            value: Object
           - dps_val: ringtone_4
           - dps_val: ringtone_4
-            value: Album 4
+            value: Sleep
           - dps_val: null
           - dps_val: null
             value: Default
             value: Default
             hidden: true
             hidden: true