Skip to content

Commit

Permalink
Allow covers to be inverted again
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin Wichmann committed Sep 21, 2020
1 parent 1e63b8d commit d065790
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion xknx/devices/cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ def __init__(
# travelcalculator (in process_group_write and set_*) - angle changes
# are updated from RemoteValue objects
self.updown = RemoteValueUpDown(
xknx, group_address_long, device_name=self.name, after_update_cb=None
xknx,
group_address_long,
device_name=self.name,
after_update_cb=None,
invert=invert_position,
)

self.step = RemoteValueStep(
Expand Down

0 comments on commit d065790

Please sign in to comment.