Scene - Automatic deactivation

For heating, I suggest you go read the programming section of the tutorial. :