modified setTemperature, exposed getDeviceIds

Tweaked the api for setTemperature to support just passing in the
temperature when there's only one thermostat. Also, changed a few
variables internally to deviceId rather than a mix of thermostat and
device.