Переглянути джерело

EARU breaker: make breaker id optional

Add compatible Zemismart device

Issue #2219
Jason Rumney 1 рік тому
батько
коміт
41f2b1bc93

+ 3 - 0
custom_components/tuya_local/devices/earu_smart_wifi_circuit_breaker_with_energy_monitor.yaml

@@ -2,6 +2,8 @@ name: Circuit breaker
 products:
   - id: ine4hhapkgxonij1
     name: EARU SW RCB
+  - id: aqktrdhlsw8q90dr
+    name: Zemismart SPM01-D2TW-ZM
 primary_entity:
   entity: switch
   icon: "mdi:fuse"
@@ -12,6 +14,7 @@ primary_entity:
       type: boolean
     - id: 19
       type: string
+      optional: true
       name: breaker_id
 secondary_entities:
   - entity: sensor