Examples of FritzahaOutletMeter


Examples of org.openhab.binding.fritzaha.internal.hardware.interfaces.FritzahaOutletMeter

        FritzahaWebInterface currentHost = hostCache.get(currentHostId).getConnection();
        if (currentDevice instanceof FritzahaSwitchedOutlet) {
          FritzahaSwitchedOutlet currentSwitch = (FritzahaSwitchedOutlet) currentDevice;
          currentSwitch.updateSwitchState(currentItem, currentHost);
        } else if (currentDevice instanceof FritzahaOutletMeter) {
          FritzahaOutletMeter currentMeter = (FritzahaOutletMeter) currentDevice;
          currentMeter.updateMeterValue(currentItem, currentHost);
        }
      }
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.