mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
[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:
parent
892450bb4e
commit
39044fccb1
@ -120,6 +120,9 @@ Hayward OmniLogic Connection Parameters:
|
|||||||
| colorLogicLightEnable | Switch | Colorlogic Light enable | R/W |
|
| colorLogicLightEnable | Switch | Colorlogic Light enable | R/W |
|
||||||
| colorLogicLightState | String | Colorlogic Light state | R |
|
| colorLogicLightState | String | Colorlogic Light state | R |
|
||||||
| colorLogicLightCurrentShow | String | Colorlogic Light current show | R/W |
|
| 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
|
### Filter Channels
|
||||||
|
|
||||||
|
@ -61,6 +61,7 @@ public class HaywardChlorinatorHandler extends HaywardThingHandler {
|
|||||||
// Enable
|
// Enable
|
||||||
data = bridgehandler.evaluateXPath("//Chlorinator/@enable", xmlResponse);
|
data = bridgehandler.evaluateXPath("//Chlorinator/@enable", xmlResponse);
|
||||||
updateData(HaywardBindingConstants.CHANNEL_CHLORINATOR_ENABLE, data.get(i));
|
updateData(HaywardBindingConstants.CHANNEL_CHLORINATOR_ENABLE, data.get(i));
|
||||||
|
channelStates.putAll(updateData(HaywardBindingConstants.CHANNEL_CHLORINATOR_ENABLE, data.get(i)));
|
||||||
|
|
||||||
// Operating Mode
|
// Operating Mode
|
||||||
data = bridgehandler.evaluateXPath("//Chlorinator/@operatingMode", xmlResponse);
|
data = bridgehandler.evaluateXPath("//Chlorinator/@operatingMode", xmlResponse);
|
||||||
|
Loading…
Reference in New Issue
Block a user