Skip to content

Instantly share code, notes, and snippets.

View marshallonsrud's full-sized avatar

marshallonsrud

View GitHub Profile
/**
* Verify light is showing the expected state in the cloud
* @param expectedState
* @return
*/
private boolean pollForLightStateViaCloud(String expectedState, int timeoutSeconds) {
for (int i = 0; i < timeoutSeconds; i = i + 10) {
log.info("Device ID : " + deviceId)
Response<DeviceStatus> statusResponse = apiGatewayDevicesApi.getDeviceStatus(mobileBearerAuth,

Keybase proof

I hereby claim:

  • I am marshallonsrud on github.
  • I am marshallonsrud (https://keybase.io/marshallonsrud) on keybase.
  • I have a public key ASC6iYVsk4paCCkKoImnfIq5jVgZb2Zr2t-fKGJm4AdbSQo

To claim this, I am signing this object: