eufy-mega / model/capabilities / resolveWorkingMode
Function: resolveWorkingMode()
ts
function resolveWorkingMode(model, value): string | undefined;Resolve a workingMode raw value to its human mode label for a device model — or undefined if the value isn't in that model's map. Matches the model against the WORKING_MODE_MAPS keys by T-code prefix, falling back to the 3-mode camera DEFAULT.
Parameters
model
string | undefined
value
number
Returns
string | undefined