Browse Source

After feedback from Jason

Steefph 1 năm trước cách đây
mục cha
commit
0bdbb2d912

+ 6 - 7
custom_components/tuya_local/devices/smart_wifi_socket_Thermostat.yaml

@@ -1,7 +1,7 @@
 # Brand name: EZAIOT
 # Brand name: EZAIOT
 # Product link: aliexpress.com/item/1005007122621628.html
 # Product link: aliexpress.com/item/1005007122621628.html
 
 
-name: Smart WiFi Oled socket Thermostat
+name: EZAIoT socket thermostat
 products:
 products:
   - id: msclnsfe0q3yd39q
   - id: msclnsfe0q3yd39q
 primary_entity:
 primary_entity:
@@ -81,16 +81,15 @@ secondary_entities:
   - entity: binary_sensor
   - entity: binary_sensor
     class: power
     class: power
     category: diagnostic
     category: diagnostic
-    name: Relay status
     dps:
     dps:
       - id: 114
       - id: 114
         type: integer
         type: integer
         name: sensor
         name: sensor
-    mapping:
-      - dps_val: 0
-        value: false
-      - dps_val: 1
-        value: true
+        mapping:
+          - dps_val: 0
+            value: false
+          - dps_val: 1
+            value: true
 
 
   # Configuration
   # Configuration
   # Child Lock
   # Child Lock