/**
  * Get humidity from emulated device
  *
  * @return Humidity
  */
 public int getHumidity() {
   if (isHumidityRandomized) {
     humidity = getRandom(humidityMax, humidityMin, humidity, isHumiditySmoothed, humiditySVF);
     agentUI.updateHumidity(humidity);
   }
   return humidity;
 }
 /**
  * Get temperature from emulated device
  *
  * @return Temperature
  */
 public int getTemperature() {
   if (isTemperatureRandomized) {
     temperature =
         getRandom(
             temperatureMax, temperatureMin, temperature, isTemperatureSmoothed, temperatureSVF);
     agentUI.updateTemperature(temperature);
   }
   return temperature;
 }
  public void changeAlarmStatus(boolean isOn) {
    agentUI.setAlarmStatus(isOn);

    if (isOn) {
      sequencer.start();
    } else {
      sequencer.stop();
    }
  }