Skip to content

v1.6.21

Choose a tag to compare

@yashijoe yashijoe released this 10 Jun 06:47

Bug fix

Fix ET coefficient button corrupting zone waterSense parameters

Pressing button.<zone>_apply_et_coefficient was resetting other zone parameters (precipitationRate, appEfficiency, rootDepth) to device defaults.

Root cause: the RainMachine API replaces all waterSense subfields on a partial POST to /zone/{uid}/properties. Switched action_set_zone_et_coef to the GET-modify-POST pattern (same as all other write methods): GET full zone properties, update only ETcoef, POST the full object back.

If your zone parameters were corrupted, re-set them manually from the RainMachine app or via the device web interface.

Contributors

Thanks to @kilgad2 for reporting the bug, identifying the root cause, and providing the fix.