瀏覽代碼

fixed switch entity

Jafar Atili 2 年之前
父節點
當前提交
5bc1f48fab
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      custom_components/tuya_local/devices/lytmi_fantasy3_hdmi_syncbox.yaml

+ 3 - 0
custom_components/tuya_local/devices/lytmi_fantasy3_hdmi_syncbox.yaml

@@ -45,8 +45,10 @@ primary_entity:
 secondary_entities:
   - entity: switch
     name: TV synchronization switch
+    category: config
     dps:
       - id: 109
+        name: switch
         type: boolean
   - entity: select
     name: HDMI Input
@@ -93,6 +95,7 @@ secondary_entities:
           max: 1000
         mapping:
           - scale: 10
+            step: 1
   - entity: select
     name: Scene
     format: