Fixes post merge to comply with updated js code json

This commit is contained in:
Monica Goward
2017-03-16 12:59:43 +00:00
parent d7d83e866e
commit c8b1827150
2 changed files with 10 additions and 7 deletions

View File

@@ -72,8 +72,8 @@ public class SomfyHome implements Home {
} else {
if (anItem.getType() != null && anItem.getType().trim().equalsIgnoreCase(DeviceMapTypes.SOMFY_DEVICE[DeviceMapTypes.typeIndex])) {
log.debug("executing HUE api request to change activity to Somfy: " + anItem.getItem().getAsString());
String jsonToPost = anItem.getItem().getAsString();
log.debug("executing HUE api request to change activity to Somfy: " + anItem.getItem().toString());
String jsonToPost = anItem.getItem().toString();
SomfyInfo somfyHandler = getSomfyHandler(device.getTargetDevice());
if(somfyHandler == null) {