forceBits(state, respectTurnOff)

Set thermostat state.

This function set the state regardless of current temperature until the next temp sensor event.


state : Off=0, Cool1=-1, Cool2=-2, Cool3=-3, Heat1=1, Heat2=2, Heat3=3

respectTurnOff: if false, the turnOff bit will be automatically cleared. Otherwise, if turnOff bit is on, heat/AC will stay off.


If successful, will return a tag object with updated signal strength (rssi), battery voltage, txpwr, etc. If tag did not respond, will return null.