Skip to content

Commit

Permalink
Bugfix: incorrectly inverted value when setting cover position (#3376)
Browse files Browse the repository at this point in the history
  • Loading branch information
ej81 authored and balloob committed Sep 15, 2016
1 parent 982a0bc commit 70a79ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/cover/zwave.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def close_cover(self, **kwargs):

def set_cover_position(self, position, **kwargs):
"""Move the roller shutter to a specific position."""
self._node.set_dimmer(self._value.value_id, 100 - position)
self._node.set_dimmer(self._value.value_id, position)

def stop_cover(self, **kwargs):
"""Stop the roller shutter."""
Expand Down

0 comments on commit 70a79ef

Please sign in to comment.