• Extracts device params from a shadow GET/accepted document. Prefers state.reported.params when present; otherwise state.reported. Always returns an object ({} when absent / non-object).

    Parameters

    • parsed: unknown

    Returns Record<string, unknown>