Reading an INDI switch without mirroring it

Mirroring a device property and the standard INDI vectors table cover the two-way, always-kept-in-sync case. Sometimes a module just needs to read one switch element once, synchronously, without declaring a property to track it continuously.

getModSwitch(): a one-shot read, optional and non-fatal by design

Guider and Polar both read the mount’s pier side this way — a value that matters for one optional feature, not worth a whole mirrored property, and whose absence (a fork/alt-az mount doesn’t expose it at all) must not block the rest of initialization:

// src/modules/guider/guider.cpp
// Get pier side (West or East of pier). Optional: only the
// enablepiersidereverse feature uses it (off by default), and fork / alt-az
// mounts don't expose TELESCOPE_PIER_SIDE. A read failure is not fatal -
// keep the previous value and carry on (do NOT hang init here).
if (!getModSwitch(getString("devices", "guider"), "TELESCOPE_PIER_SIDE", "PIER_WEST", _mountPointingWest))
{
    logWarning("Could not read mount pier side - pier-side reversal disabled for this session");
}

Polar reads the exact same vector, the same way, for the same reason. In both cases the pattern is the same as getModNumber() (The device picker and standard INDI vectors): pass a reference, check the bool return, keep going on failure rather than treating a missing optional property as an error.

sendModNewText(), getModText(), setCaptureFormat() have no real usage yet

IndiModule declares these alongside sendModNewSwitch()/sendModNewNumber()/getModNumber()/getModSwitch() — same text/switch/number-vector symmetry — but no core module calls any of the three today.