Przeglądaj źródła

Vevor EV charger: add missing class for Phase A power (#5630)

* Vevor EV charger: add missing class for Phase A power

The measurement class is needed to be able to add the current power to the
energy dashboard.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

* vevor_3_7kw_evcharger: add missing class for Phase A power

The measurement class is needed to be able to add the current power to the
energy dashboard.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

---------

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Alexandre Belloni 1 dzień temu
rodzic
commit
c12d58d435

+ 1 - 0
custom_components/tuya_local/devices/vevor_3_7kw_evcharger.yaml

@@ -83,6 +83,7 @@ entities:
         name: sensor
         optional: true
         unit: kW
+        class: measurement
         mask: "0000000000FFFFFF"
         mapping:
           - scale: 1000

+ 1 - 0
custom_components/tuya_local/devices/vevor_ev_charger.yaml

@@ -86,6 +86,7 @@ entities:
         name: sensor
         optional: true
         unit: kW
+        class: measurement
         mask: "0000000000FFFFFF"
         mapping:
           - scale: 1000