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

Goodcell EV charger: add attribute for "Display current"

This is apparently the actual current used by the charger after clamping the
input within the limits (which depends on the charger model). It may be useful
to use, so made it available as an attribute.

Based on PR #3162
Jason Rumney 10 месяцев назад
Родитель
Сommit
a972801bc8

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -884,3 +884,4 @@ Further device support has been made with the assistance of users. Please consid
 - [leksts](https://github.com/leksts) for contributing support for Eurom WiFi thermostat
 - [XargsUK](https://github.com/XargsUK) for contributing support for Electriq EcoSilent 12HPW, which was merged with 14HPW.
 - [deanillfeld](https://github.com/deanillfeld) for contributing support for Arlec ATF4602BHA 12 speed tower fan.
+- [muhhh0](https://github.com/muhhh0) for contributing improvements for Goodcell EV charger.

+ 4 - 0
custom_components/tuya_local/devices/goodcell_ev_charger.yaml

@@ -160,6 +160,10 @@ entities:
             value: Max16A
           - dps_val: Max32A
             value: Max32A
+      - id: 125
+        type: integer
+        optional: true
+        name: display
   - entity: number
     name: Charge delay
     category: config