The paper will examine in detail (a) the norms that can be featured under the category "Green Deal" connected to the European Commission, (b) their application to Spain and (c) the different patterns of action and development models that have been shaped by this framework over the last 20 years. These patterns are particularly relevant currently, as the Covid crisis has highlighted the importance of advancing towards new patterns of local sustainability endowed with higher resilience. The notion of cognitive sustainability will be one of the added value to current reflections on sustainability in general and energetic sustainability in particular.