Automation: increase value by x instead of setting it to x

Just a quick question - is it possible (perhaps using a value_template?) to massage a value within an automation, such that it is increased by a value? SO my target temperature is 21 during the day, but overnight i want to reduce it by 6 degrees. I can hard code those values into an automation (i have it working), but if I change the target temperature (say my mum is visiting :slight_smile: ) and it goes up to 23, once my hard coded automations kick in, that change is lost. Forgive me if this is basic.