瀏覽代碼

Galaxy projector: add text entities for Theme (Scene) and Music

PR #3119 seems to have a different list of scenes, but with generic names
so not really useful to add as select options. It also defines the same for
Music mode which was not covered in the original config.

Otherwise the config is pretty much the same, except the submitter split
effect out to a separate select, and renamed color_mode to switch (duplicated).
Jason Rumney 1 年之前
父節點
當前提交
598d5be413
共有 1 個文件被更改,包括 22 次插入0 次删除
  1. 22 0
      custom_components/tuya_local/devices/galaxy_projector_light.yaml

+ 22 - 0
custom_components/tuya_local/devices/galaxy_projector_light.yaml

@@ -8,6 +8,9 @@ products:
     model_id: SKY-EVOLVE-B-RCW8
   - id: l8xe7jasktrwjd7a
     model: Aurora Galaxy Star Projector
+  - id: shz7blrfcpfccvo3
+    manufacturer: Mirabella Genio
+    model: Genio Galaxy Starship Projector I004545
 entities:
   - entity: light
     dps:
@@ -90,6 +93,15 @@ entities:
         range:
           min: 0
           max: 100
+  - entity: text
+    name: Theme
+    icon: "mdi:movie-open-play"
+    category: config
+    hidden: true
+    dps:
+      - id: 58
+        type: base64
+        name: value
   - entity: select
     name: Theme
     icon: "mdi:movie-open-play"
@@ -107,3 +119,13 @@ entities:
             value: Space
           - dps_val: "AAM="
             value: Ocean
+  - entity: text
+    name: Music sync
+    icon: "mdi:music"
+    category: config
+    hidden: true
+    dps:
+      - id: 42
+        type: hex
+        optional: true
+        name: value