Package org.openhab.binding.digitalstrom.internal.client.entity

Examples of org.openhab.binding.digitalstrom.internal.client.entity.DeviceConfig


  /* (non-Javadoc)
   * @see org.openhab.binding.digitalSTROM2.internal.client.job.SensorJob#execute(org.openhab.binding.digitalSTROM2.internal.client.DigitalSTROMAPI, java.lang.String)
   */
  @Override
  public void execute(DigitalSTROMAPI digitalSTROM, String token) {
    DeviceConfig config = digitalSTROM.getDeviceConfig(token, this.device.getDSID(), null, DeviceParameterClassEnum.CLASS_128, this.sceneId);
 
    if (config != null) {
      this.device.setSceneOutputValue(this.sceneId, (short) config.getValue());
      logger.info("UPDATED sceneOutputValue for dsid: "+this.device.getDSID()+", sceneID: "+sceneId+", value: "+config.getValue());
    }
  }
View Full Code Here

TOP

Related Classes of org.openhab.binding.digitalstrom.internal.client.entity.DeviceConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.