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

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 22 часов назад
Родитель
Сommit
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