Skip to content

Commit

Permalink
Revert "[haywardomnilogic] Remove erroneous chlorinator code from fil…
Browse files Browse the repository at this point in the history
…terhandler (openhab#11028)"

This reverts commit 607bfc1.
  • Loading branch information
dw-8 committed Jul 25, 2021
1 parent 5a55c64 commit 53bfa10
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ public void getTelemetry(String xmlResponse) throws HaywardException {
String thingSystemID = getThing().getUID().getId();
for (int i = 0; i < systemIDs.size(); i++) {
if (systemIDs.get(i).equals(thingSystemID)) {
// Operating Mode
data = bridgehandler.evaluateXPath("//Chlorinator/@operatingMode", xmlResponse);
updateData(HaywardBindingConstants.CHANNEL_CHLORINATOR_OPERATINGMODE, data.get(i));

// Valve Position
data = bridgehandler.evaluateXPath("//Filter/@valvePosition", xmlResponse);
updateData(HaywardBindingConstants.CHANNEL_FILTER_VALVEPOSITION, data.get(i));
Expand Down

0 comments on commit 53bfa10

Please sign in to comment.