I should mention that I tried expire for my hotwater heater, wanted an auto-off after 35mins but it seems expire is limited to small time amounts - i read that it resets the expire timer after any device update so 2 mins is prob ok but 35 gets reset time and time again probably due to traffic updates.
so timer in a script is more applicable i think!
(more info from here - Expire timer does not always work)