Преглед изворни кода

TG Electro motion: do not override mode in number entity

No other device does this, and it is not recommended, as it may interfere with user preferences - this is a UI option that should be set in the UI.

PR #2900
Jason Rumney пре 1 година
родитељ
комит
1ed4e2f4f6
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      custom_components/tuya_local/devices/tg_electro_motion_sensor.yaml

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

@@ -73,7 +73,6 @@ entities:
         type: integer
         name: value
         unit: s
-        mode: slider
         range:
           min: 5
           max: 360