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

fix (zemismart_spm02d2tw_energymeter): correct energy produced dp

Comment on #3984 listed 23 as the correct dp, and dp 9 is also configured
as the fault sensor, so it seems like a copy/paste error.

Issue #4081
Jason Rumney 2 месяцев назад
Родитель
Сommit
46faa2f995

+ 1 - 1
custom_components/tuya_local/devices/zemismart_spm02d2tw_energymeter.yaml

@@ -22,7 +22,7 @@ entities:
     translation_key: energy_produced
     class: energy
     dps:
-      - id: 9
+      - id: 23
         type: integer
         name: sensor
         unit: kWh