Skip to content

Commit

Permalink
Update for tuya.cover with invert_position_report
Browse files Browse the repository at this point in the history
Add the new parameter for `tuya.cover`.
  • Loading branch information
wrouesnel committed Dec 26, 2023
1 parent ad03f2e commit 9f22f57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/cover/tuya.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Configuration variables:
- **min_value** (*Optional*, int): The lowest position value, meaning cover closed. Defaults to 0.
- **max_value** (*Optional*, int): the highest position value, meaning cover opened. Defaults to 255.
- **invert_position** (*Optional*, boolean): Sets the direction of travel to be inverted, if direction_datapoint is configured.
- **invert_position_report** (*Optional*, boolean): Invert reported position percentages calculated from `min_value` and `max_value` i.e. 70% becomes 30%.
- All other options from :ref:`Cover <config-cover>`.

Supported devices
Expand Down

0 comments on commit 9f22f57

Please sign in to comment.