瀏覽代碼

Added Boolean Switch (ID 2 part of primary entity

thewolf-oz 3 年之前
父節點
當前提交
33a68bd374
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      custom_components/tuya_local/devices/arlec_thermostat_smartplug.yaml

+ 4 - 0
custom_components/tuya_local/devices/arlec_thermostat_smartplug.yaml

@@ -6,6 +6,10 @@ primary_entity:
   entity: climate
   dps:
     - id: 2
+      type: boolean
+      name: switch
+      icon: mdi:light-switch
+    - id: 9
       type: boolean
       name: hvac_mode
       icon: "mdi:thermostat-box"