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

fix(pixbee_illumi_ambientlight): use translations

Jason Rumney 1 месяц назад
Родитель
Сommit
f412334cac

+ 2 - 2
custom_components/tuya_local/devices/pixbee_illumi_ambientlight.yaml

@@ -230,7 +230,7 @@ entities:
         optional: true
         name: value
   - entity: text
-    name: Sleep settings
+    translation_key: sleep_settings
     category: config
     icon: "mdi:sleep"
     hidden: true
@@ -240,7 +240,7 @@ entities:
         optional: true
         name: value
   - entity: switch
-    name: Snooze
+    translation_key: snooze
     dps:
       - id: 17
         type: boolean