read/write thermostat mode and supported modes