A condition of between two times doesn't work because RM seems to be using date times now. The default date (which is presumably ignored) is all 9's and RM is expecting a month between 1 and 12, not 99.
Integers and floats can't be compared. To get a dimmer level you have to use an integer and you can't later compare that with a temperature. Oddly if you create the variable first as an integer and later remove and re-add the variable as a decimal, it works.