[haywardomnilogic] Fixed chlorinator bug (#16820)

* Fixed chlorinator handler bug that caused the chlorinator to turn off if the chlorinator salt % output channel was adjusted.

Signed-off-by: Matt Myers <mmyers75@icloud.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
Matt 2024-05-31 04:13:09 -04:00 committed by Ciprian Pascu
parent 892450bb4e
commit 39044fccb1
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -61,6 +61,7 @@ public class HaywardChlorinatorHandler extends HaywardThingHandler {
// 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);