Przeglądaj źródła

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 2 lat temu
rodzic
commit
b51b0fc63d

+ 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