Просмотр исходного кода

More standardized

Standardize. Remove Voltage and Current from entity.
Vamp 4 лет назад
Родитель
Сommit
50104eec94
1 измененных файлов с 0 добавлено и 12 удалено
  1. 0 12
      custom_components/tuya_local/devices/digoo_dgsp202.yaml

+ 0 - 12
custom_components/tuya_local/devices/digoo_dgsp202.yaml

@@ -6,24 +6,12 @@ primary_entity:
     - id: 1
       type: boolean
       name: switch
-    - id: 18
-      type: integer
-      name: current_a
-      readonly: true
-      mapping:
-        - scale: 1000
     - id: 19
       type: integer
       name: current_power_w
       readonly: true
       mapping:
         - scale: 10
-    - id: 20
-      type: integer
-      name: voltage_v
-      readonly: true
-      mapping:
-        - scale: 10
 secondary_entities:
   - entity: switch
     name: outlet 2