Bugfix: incorrectly inverted value when setting cover position (#3376)

This commit is contained in:
Eric Jansen authored and Paulus Schoutsen committed 2016-09-14 17:41:45 -07:00
1 parent 982a0bc195
commit 70a79efb77
1 file changed
+1 -1
+1 -1
View File
@@ -139,7 +139,7 @@ class ZwaveRollershutter(zwave.ZWaveDeviceEntity, CoverDevice):
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."""