Răsfoiți Sursa

fix(homemate_multi_switch): translation_placeholders must be strings

Jason Rumney 7 luni în urmă
părinte
comite
86eb222c81

+ 8 - 8
custom_components/tuya_local/devices/homemate_multi_switch.yaml

@@ -10,7 +10,7 @@ entities:
   - entity: switch
     translation_key: switch_x
     translation_placeholders:
-      x: 1
+      x: "1"
     dps:
       - id: 1
         name: switch
@@ -18,7 +18,7 @@ entities:
   - entity: switch
     translation_key: switch_x
     translation_placeholders:
-      x: 2
+      x: "2"
     dps:
       - id: 2
         name: switch
@@ -26,7 +26,7 @@ entities:
   - entity: switch
     translation_key: switch_x
     translation_placeholders:
-      x: 3
+      x: "3"
     hidden: unavailable
     dps:
       - id: 3
@@ -44,7 +44,7 @@ entities:
   - entity: switch
     translation_key: switch_x
     translation_placeholders:
-      x: 4
+      x: "4"
     hidden: unavailable
     dps:
       - id: 4
@@ -71,7 +71,7 @@ entities:
     class: duration
     translation_key: timer_x
     translation_placeholders:
-      x: 1
+      x: "1"
     dps:
       - id: 7
         type: integer
@@ -89,7 +89,7 @@ entities:
     class: duration
     translation_key: timer_x
     translation_placeholders:
-      x: 2
+      x: "2"
     dps:
       - id: 8
         type: integer
@@ -107,7 +107,7 @@ entities:
     class: duration
     translation_key: timer_x
     translation_placeholders:
-      x: 3
+      x: "3"
     hidden: unavailable
     dps:
       - id: 9
@@ -134,7 +134,7 @@ entities:
     class: duration
     translation_key: timer_x
     translation_placeholders:
-      x: 4
+      x: "4"
     hidden: unavailable
     dps:
       - id: 10