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

Zemismart roller shade: positions are not inverted

History: this config was originally made with `invert: true` at dps level,
where the desired effect was not produced. After yaml lint tests were added,
this issue was detected and "fixed" by moving it into a `mapping`.  However,
the original presence of that `invert: true` seems to have been a mistake, the
values should not be inverted.

Discussion #1830
Jason Rumney 1 год назад
Родитель
Сommit
b51b0fc63d
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      custom_components/tuya_local/devices/zemismart_roller_shade.yaml

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

@@ -24,16 +24,12 @@ primary_entity:
       range:
         min: 0
         max: 100
-      mapping:
-        - invert: true
     - id: 3
       name: current_position
       type: integer
       range:
         min: 0
         max: 100
-      mapping:
-        - invert: true
     - id: 7
       name: unreliable_action
       type: string