docs(cli): note intentional omission of HiLo per-setpoint priorities/deadbands/messages (review fix)
This commit is contained in:
@@ -56,6 +56,9 @@ internal static class AlarmTriggerConfigJson
|
|||||||
w.WriteString("direction", NormalizeDirection(direction));
|
w.WriteString("direction", NormalizeDirection(direction));
|
||||||
break;
|
break;
|
||||||
case "hilo":
|
case "hilo":
|
||||||
|
// Only the four setpoints are exposed as flags. The codec also accepts
|
||||||
|
// per-setpoint priorities/deadbands/messages — intentionally omitted here;
|
||||||
|
// use raw --trigger-config for those (see the YAGNI scope guard in the plan).
|
||||||
if (loLo.HasValue) w.WriteNumber("loLo", loLo.Value);
|
if (loLo.HasValue) w.WriteNumber("loLo", loLo.Value);
|
||||||
if (lo.HasValue) w.WriteNumber("lo", lo.Value);
|
if (lo.HasValue) w.WriteNumber("lo", lo.Value);
|
||||||
if (hi.HasValue) w.WriteNumber("hi", hi.Value);
|
if (hi.HasValue) w.WriteNumber("hi", hi.Value);
|
||||||
|
|||||||
Reference in New Issue
Block a user