Skip to content

Commit

Permalink
[haywardomnilogic] Fixed chlorinator bug (openhab#16820)
Browse files Browse the repository at this point in the history
* Fixed chlorinator handler bug that caused the chlorinator to turn off if the chlorinator salt % output channel was adjusted.

Signed-off-by: Matt Myers <[email protected]>
  • Loading branch information
matchews authored May 31, 2024
1 parent c836561 commit 2bfba0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bundles/org.openhab.binding.haywardomnilogic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ Hayward OmniLogic Connection Parameters:
| colorLogicLightEnable | Switch | Colorlogic Light enable | R/W |
| colorLogicLightState | String | Colorlogic Light state | R |
| colorLogicLightCurrentShow | String | Colorlogic Light current show | R/W |
| colorLogicLightBrightness | String | Colorlogic Light brightness | R/W |
| colorLogicLightSpeed | String | Colorlogic Light speed | R/W |
**Brightness and speed channels only available on Hayward V2 lights

### Filter Channels

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public void getTelemetry(String xmlResponse) throws HaywardException {
// Enable
data = bridgehandler.evaluateXPath("//Chlorinator/@enable", xmlResponse);
updateData(HaywardBindingConstants.CHANNEL_CHLORINATOR_ENABLE, data.get(i));
channelStates.putAll(updateData(HaywardBindingConstants.CHANNEL_CHLORINATOR_ENABLE, data.get(i)));

// Operating Mode
data = bridgehandler.evaluateXPath("//Chlorinator/@operatingMode", xmlResponse);
Expand Down

0 comments on commit 2bfba0a

Please sign in to comment.