소스 검색

Matsee 2-way V2 energy meter: make hourly measurements optional

Issue #2573
Jason Rumney 1 년 전
부모
커밋
56f4d75f33
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      custom_components/tuya_local/devices/matsee_2wayv2_energymeter.yaml

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

@@ -15,6 +15,7 @@ primary_entity:
       class: total_increasing
     - id: 122
       type: integer
+      optional: true
       name: hourly
       mapping:
         - scale: 100
@@ -32,6 +33,7 @@ secondary_entities:
           - scale: 100
       - id: 123
         type: integer
+        optional: true
         name: hourly
         mapping:
           - scale: 100
@@ -148,6 +150,7 @@ secondary_entities:
           - scale: 100
       - id: 118
         type: integer
+        optional: true
         name: hourly
         mapping:
           - scale: 100
@@ -178,6 +181,7 @@ secondary_entities:
           - scale: 100
       - id: 119
         type: integer
+        optional: true
         name: hourly
         mapping:
           - scale: 100
@@ -255,6 +259,7 @@ secondary_entities:
           - scale: 100
       - id: 120
         type: integer
+        optional: true
         name: hourly
         mapping:
           - scale: 100
@@ -285,6 +290,7 @@ secondary_entities:
           - scale: 100
       - id: 121
         type: integer
+        optional: true
         name: hourly
         mapping:
           - scale: 100