فهرست منبع

fix(smartplugv2_energyv2): remove forced polling

This is known to break some devices. With a persistent connection, most devices will
send updates when the sensor values change. For devices that require it, there is
smartplugv2_polled_power.yaml that covers the main smartplug functionality.

Issue #6394
Jason Rumney 1 روز پیش
والد
کامیت
be40a181a1
1فایلهای تغییر یافته به همراه0 افزوده شده و 3 حذف شده
  1. 0 3
      custom_components/tuya_local/devices/smartplugv2_energyv2.yaml

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

@@ -75,7 +75,6 @@ entities:
         name: sensor
         type: integer
         class: measurement
-        force: true
         unit: mA
       - id: 23
         type: integer
@@ -89,7 +88,6 @@ entities:
         name: sensor
         type: integer
         class: measurement
-        force: true
         unit: W
         mapping:
           - scale: 10
@@ -105,7 +103,6 @@ entities:
         name: sensor
         type: integer
         class: measurement
-        force: true
         unit: V
         mapping:
           - scale: 10