diff --git a/custom_components/localtuya/cover.py b/custom_components/localtuya/cover.py index 3b6b86d..b45669c 100644 --- a/custom_components/localtuya/cover.py +++ b/custom_components/localtuya/cover.py @@ -108,13 +108,13 @@ class LocaltuyaCover(LocalTuyaEntity, CoverEntity): def is_closed(self): """Return if the cover is closed or not.""" if self._config[CONF_POSITIONING_MODE] == COVER_MODE_NONE: - return None + return False if self._current_cover_position == 0: return True if self._current_cover_position == 100: return False - return None + return False async def async_set_cover_position(self, **kwargs): """Move the cover to a specific position."""