Basic rule crashes when controlling thermostat

This is likely a problem with your thermostat driver -- which shouldn't happen with a built-in driver, but it's possible you'll need to try a "Configure" or just "Save Device" to get these attributes updated if they were not consistent with the expectations originally. Alternatively, you can try these steps yourself:

Substitute appropriate values for both if needed, depending on actual capabilities.