I don’t know the practice in your country, but where I live the convention is that everything that’s bolted down or otherwise permanently integrated into the house will stay. A smart thermostat stays, smart lights stay if they form a unit with smart lightswitches, etc… Although to avoid confusion it is generally recommended to explicitly list what stays and what doesn’t prior to making the house sale.