diff --git a/custom_components/tahoma/cover.py b/custom_components/tahoma/cover.py index fdfd5e757..a9baa24bd 100644 --- a/custom_components/tahoma/cover.py +++ b/custom_components/tahoma/cover.py @@ -105,12 +105,9 @@ def update(self): # Set position for horizontal covers if CORE_DEPLOYMENT_STATE in self.tahoma_device.active_states: - self._closure = self.tahoma_device.active_states.get( + self._position = self.tahoma_device.active_states.get( CORE_DEPLOYMENT_STATE) - self._position = 100 - self.tahoma_device.active_states.get( - CORE_CLOSURE_STATE) - # TODO Check if this offset is really necessary if self._position <= 5: self._position = 0