I would have to do following fixed effect regression: Dependent variable is the Sqm price and the control variables would be: Rooms, Construction Year, Floor, Elevator (1/0) and Condition (1-6). I want to regression to get average residua for every postal code area for every year from regressing prices on time dummies and unit chracteristics.
Assuming you don't have a large number of values in the Year variable, create a new variable that is as.factor(Year) and include it in the regression. That will give you the fixed effects. Then put the residuals into a tibble (using tidyverse) and use summarise with the .by argument to get the averages you want.