Use this trigger to fire something when your electricity price stays above (or below) your set threshold for a minimum length of time in 30-minute blocks.
This action will set the thermostat into a hold with the specified temperature for the specified number of hours.