Package org.openhab.binding.fritzaha.internal.hardware.interfaces

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

Related Classes of org.openhab.binding.fritzaha.internal.hardware.interfaces.FritzahaOutletMeter

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.