Skip to content

Commit 308ea64

Browse files
committed
Remove getMSPConfi
1 parent 263e206 commit 308ea64

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

  • bundles/org.openhab.binding.haywardomnilogiclocal/src/main/java/org/openhab/binding/haywardomnilogiclocal/internal/handler

bundles/org.openhab.binding.haywardomnilogiclocal/src/main/java/org/openhab/binding/haywardomnilogiclocal/internal/handler/HaywardBridgeHandler.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -182,25 +182,6 @@ private synchronized boolean requestConfiguration() throws HaywardException {
182182
return true;
183183
}
184184

185-
public synchronized String getMspConfig() throws HaywardException, InterruptedException {
186-
String urlParameters = "<?xml version=\\\"1.0\\\" encoding=\\\"utf-8\\\"?><Request><Name>GetMspConfig</Name><Parameters/></Request>";
187-
188-
String xmlResponse = udpXmlResponse(urlParameters, MSG_TYPE_REQUEST);
189-
190-
if (xmlResponse.isEmpty()) {
191-
logger.debug("Hayward Connection thing: MSP config XML response was null");
192-
return "Fail";
193-
}
194-
195-
List<String> configs = evaluateXPath("//Parameter[@name='MspConfig']/text()", xmlResponse);
196-
if (configs.isEmpty()) {
197-
logger.debug("Hayward Connection thing: MSP config XML response: {}", xmlResponse);
198-
return "Fail";
199-
}
200-
201-
return configs.get(0);
202-
}
203-
204185
public synchronized boolean getTelemetryData() throws HaywardException {
205186
String urlParameters = "<?xml version=\"1.0\" encoding=\"utf-8\"?><Request><Name>GetTelemetryData</Name><Parameters/></Request>";
206187

0 commit comments

Comments
 (0)