diff --git a/custom_components/dirigera_platform/cover.py b/custom_components/dirigera_platform/cover.py index 501ba31..0b5d58d 100644 --- a/custom_components/dirigera_platform/cover.py +++ b/custom_components/dirigera_platform/cover.py @@ -110,10 +110,10 @@ def is_opening(self): return False def open_cover(self, **kwargs): - self._json_data.set_target_position(0) + self._json_data.set_target_level(0) def close_cover(self, **kwargs): - self._json_data.set_target_position(100) + self._json_data.set_target_level(100) def set_cover_position(self, **kwargs): position = int(kwargs['position'])