My office for working at home is in the conservatory. Although it has a solid roof now it can still be a little bit colder than the main house when outside it’s 0C.
I’ve created a monitoring system to check the temperature and when working, or overnight, stop the place getting too cold. I control a heater via a wi-fi connected plug and control that though it’s API. I even manage to capture the temperature changes and can see how good or bad things have been.
I have added “switches” to override the heating for various cases. Summer is coming so this should be used less…but it is only February so we’re not in the clear yet.