Package org.openhab.binding.netatmo.internal.messages.DeviceListResponse

Examples of org.openhab.binding.netatmo.internal.messages.DeviceListResponse.Module


    assertEquals(1, devices.size());
    assertEquals(1, modules.size());

    final Device device = devices.get(0);
    final Module module = modules.get(0);

    assertTrue(device.isPublicData());
    assertTrue(module.isPublicData());
  }
View Full Code Here


            }
        }

        for (Entry<String, Set<String>> entry : moduleMeasurements.entrySet()) {
            final String moduleId = entry.getKey();
            final Module module = moduleMap.get(moduleId);

            for (String measurement : entry.getValue()) {
                message.append("\t" + module.getMainDevice() + "#" + moduleId
                        + "#" + measurement + " (" + module.getModuleName()
                        + ")\n");
            }
        }
        if (message.length() > 0) {
            message.insert(0,"The following Netatmo measurements are not yet configured:\n");
View Full Code Here

TOP

Related Classes of org.openhab.binding.netatmo.internal.messages.DeviceListResponse.Module

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.