瀏覽代碼

Beok TGR81: make compatible with Avatto ME81

Based on changes by erelke in PR #1188
Left out the force: true, because it seems overused and may have a negative
impact on other devices.
Jason Rumney 2 年之前
父節點
當前提交
e69aee36dd
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      custom_components/tuya_local/devices/beok_tgr81_thermostat_c.yaml

+ 6 - 0
custom_components/tuya_local/devices/beok_tgr81_thermostat_c.yaml

@@ -2,6 +2,8 @@ name: Beok TGR81 thermostat
 products:
   - id: gogb05wrtredz3bs
     name: Avatto WT81 thermostat
+  - id: gw173aldekvpzalg
+    name: Avatto ME81 thermostat
 primary_entity:
   entity: climate
   translation_key: thermostat
@@ -43,6 +45,7 @@ primary_entity:
     - id: 36
       type: string
       name: hvac_action
+      optional: true
       mapping:
         - dps_val: close
           icon: "mdi:radiator-disabled"
@@ -106,6 +109,7 @@ secondary_entities:
       - id: 43
         type: string
         name: option
+        optional: true
         mapping:
           - dps_val: in
             icon: "mdi:gauge"
@@ -124,6 +128,7 @@ secondary_entities:
       - id: 45
         type: bitfield
         name: sensor
+        optional: true
         mapping:
           - dps_val: 0
             value: False
@@ -138,6 +143,7 @@ secondary_entities:
         type: integer
         name: value
         unit: C
+        optional: true
         range:
           min: 30
           max: 90