Skip to content

Commit

Permalink
Fix reversed position for AwningValance covers (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
iMicknl authored Feb 11, 2021
1 parent d5261b8 commit 797c52c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions custom_components/tahoma/cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,4 @@ def supported_features(self):

def _reversed_position_device(self):
"""Return true if the device need a reversed position that can not be obtained via the API."""
return (
"Horizontal" in self.device.widget or self.device.widget == "AwningValance"
)
return "Horizontal" in self.device.widget

0 comments on commit 797c52c

Please sign in to comment.